Google maps and Google earth application - google-maps

I want to develop an application to find the value of a property based on some constants(such as the distance from the shore,the width of the road in frond of the property,the neighborhood that is located to etc) -constants that i will have to insert to that application (i guess with some tool that can make kml files with point,lines,areas and geocoding information) and variables which i will have τo take from the user through a series of forms.To succesfully calculate a value i need to make spatial querys (such as which is the distance of a point from that polygon?)
Is it possible to develop such an app with google maps or google earth or i have to develop with the use of an GIS(ESRI,Manifold etc).Also which is the difference between the possibilities of the resulting apps with maps and earth?
Thank you

Bill Chadwick has some Javascript for Google Maps that calculates the distance of a point from a poly. See the the bottom of this page.

Related

Google Map Js Api Premium plan limitations

I have Google premium account.
I am using google map javascript api for showing map on our website.
Feature of map like
Load the map
Place the markers programmatically with coordinates.coordinates already stored in database. i used those coordinates to place the markers.
so my question is that what is the limitations for above features for premium account? Is there any limit that how may times we can load the map and place the marker.
I have seen some requests limit for directions and other things. but i am not using direction feature.
Thanks!!!
When you use a Premium plan Google Maps JavaScript API map loads will be counted against the purchased map credits. Map load is incurred when you show a map in your application. Interactions like zoom, pan or create new marker are not counted.
There is no daily limit, you can use maps while your map credits are not exhausted.
Client side services (geocoding, directions, distance matrix) and places library will consume your map credits as well.
For more details I can suggest reading the documentation:
https://developers.google.com/maps/premium/usage-limits

Near by search on google maps

We want to implement a logistic software program to fetch all the places between two locations.
As an example A is the starting point and B is the destination. Now we would like to fetch all the area names with in a radius of 500 Meters from the google maps at starting point (A), destination point (B) and all the places between A and B.
Is there any API which can be integrated or any kind of help is welcome!!!!
Of course there is! You should use Google Places API and feed it with the points (lat, alt) that you get from your Google Maps route. Remember to use the radar function.

Google Maps API v3 pathing with location service

I'm using Google Maps for my campus map and I already have all the overlays for the buildings done along with javascript to open windows when clicked on the overlay, etc. The next problem I'm trying to tackle is how to get directions from point A to point B (using point A as geolocation). On my campus there is about 2.5 miles+ of sidewalks but they aren't defined paths in google maps, so i cannot use the built in directions which Google maps offers.
Is there any way i can make it so it displays directions from point A to point B while making it so it displays a path along a sidewalk?
Thanks in advance.
EDIT: I already have the geolocation working also.
If Google doesn't know about the sidewalks, you will have to do the drawing yourself. You will need to store information about the sidewalks in a database, then come up with a routing algorithm, then draw a line (using the Polyline class).
For routing algorithms, you might be able to get away with using Dijkstra's algorithm
http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm
or you could try A*
http://en.wikipedia.org/wiki/A*_search_algorithm
or one of the other algorithms you can find in the Wikipedia sidebar on the Dijkstra and A* pages.
Polyline documentation:
https://developers.google.com/maps/documentation/javascript/overlays#Polylines

How to find a closest street

I'm reading through Google Maps API documentation and I wonder if such a think is possible:
I specify the point (by coords)
I search for all roads, and junctions around the node (say in 1km radius)
I get parameters for the streets around (polyline coords)
Is it reachable, or google do not share that data?
Thanks in advance
Rafal
I can image writing up a little script that generates a bunch of random points within a 1km radius and then performs directions services via Google Maps API to obtain all possible routes and thus streets within a 1km radius. However, this is problematic since it is kinda against the Google Maps TOS of displaying this information only on a map within a website and not extracting data for you personal use as this would be.
A better approach would be looking into utilizing Open Street Map data where you can download street data from a specific viewport. If buying street network data is an option, you can go to a commercial outlet such as NAVTEQ or PTV which post-processes NAVTEQ data to a format for use in the transport modeling software package you mention on your blog.

Topographical or relief data in Map APIs

I was wondering if anyone knew of any map APIs that offer topographical or relief data? I've had a quick look at Google and Bing APIs, but could find nothing there.
Google allow you to view a map as TERRAIN, which means you can see the topography of a map, but I want to be able to get at that data - i.e. if I were to draw a line between 2 points on Google Maps, I want to know how high above see level points along that line are.
Is this possible with any map APIs out there?
Thanks for your time!
Here's a simple example of height along a route.
I use USGS to obtain the elevation data, Google Maps API to plot the route and Google Charts to draw the elevation profile.
Full details in the associated tutorial.
Here are a few web services that provide elevation data:
USGS Elevation Query Web Service
EarthTools
GeoNames
Also, this site can search each of them