can i draw path on a google earth image? - google-maps

hi all
i want to ask about using j2me to program path navigation by using google earth map
i dont found the static map of my country and my city ( iraq - mosul ) so i ask can i take the image from google earth and make a placemarks and draw path between then , i hope i found the answer because i am student researcher to complete my research to get the master
thanks for help me .
hiba

Yes, you can do this in the Google Earth application freely, simply drop the placemarks where you want and draw any linestrings you require.
GE: http://www.google.co.uk/intl/en_uk/earth/index.html
You can save this data as a KML file that can be loaded into most GIS applications including Gooogle Earth and Maps. KML is just and XML file so you could always just put it together by hand in a text editor as well...
KML: http://code.google.com/apis/kml/documentation/
Failing that you could use either the Gooogle Maps or Google Earth api to create the data.
Maps: http://code.google.com/apis/maps/index.html
Earth: http://code.google.com/apis/earth/

Related

Google Autocomplete Polygon as GeoJson

I'm trying to find in the Google Maps documentation a way to search for a place and get it's GeoJson polygon but I got no luck finding something like that.
My goal is to create a search bar to search places and then send the geojson polygon to our back-end. I don't want to draw it on a map or anything front-related.
Nominatim is doing exactly what I want but Nominatim policy is very restricted so before I go for an alternative, I wanted to check if Google Maps could provide the same (especially since searching for a country on Google Maps retrieve the polygon and draw it on the map).
Thanks for your help !
Unfortunately Google Maps APIs don't expose any polygons data of geographic features. You can see very old feature request in the Google issue tracker to add this functionality, however it looks like Google didn't set high priority on this task:
https://issuetracker.google.com/issues/35816953
Feel free to star the public feature request to express your interest and subscribe to further updates from Google.
You should get polygons from other sources.

How to create a polygon on Google map using list of GPS location

I have a list of customer (GPS coordinates) for each salesman in excel file. I want to create a polygon in Google map that shows area of each salesman in map.
Is there any tool that shows my salesman area in the Google map ?
For the first step it is easier to use Google Earth.
To display data you need a google kml file.
Create a placemark, and use the Polygon.
More, see https://developers.google.com/kml/documentation/kml_tut
To display a kml in google maps, the file has to be located on a server reachable by an url.
Ffor goggle earth a local file on your disk is sufficient.
For this problem, you may want to use a concave hull algorithm. You can read more in depth at https://gis.stackexchange.com/questions/39205/converting-point-sets-to-polygon-boundaries
In JavaScript, you can use https://www.npmjs.com/package/concaveman.

Census Tracts Overlay for Google Maps?

Is it possible to map data by census tract on Google Maps? Specifically, it would be good to know if this capability exists within Qlikview's Google Maps extension, but it would also help to know if this is something that can be done at all, and if so how.
Yes, it appears so.
Census tract data is available via a KML file:
https://www.census.gov/geographies/mapping-files/time-series/geo/kml-cartographic-boundary-files.html
As part of a larger set of Census related data this is available in KML:
https://www.census.gov/geographies/mapping-files.html
The following are directions from Google on how to use KML files with their products:
https://developers.google.com/maps/documentation/javascript/kml

How to search saved gps coordinates on a rout from source to destination on google map?

I am trying to develop website that shows all the major landmarks on a rout from source to destination using google map.
I have saved those major landmarks GPS coordinates in my database.
But, I do not know how can I search my saved GPS coordinates and find out which of them are on the rout shown by google map.
You may create a polyline from the path of the route(may be e.g. retrieved via route.overview_path) and then use the method google.maps.geometry.poly.isLocationOnEdge() of the geometry-library to check the landmark-coordinates against the polyline.

Add point polyline polygon in google earth

I want to develop a web-application using Google Earth in the browser.
I need to add a point feature, a polyline and a polygon.
The web-applicaton needs to display the features the same as the Google Earth desktop application.
I want to use the Google Maps Api and the Google Earth Api to deliver google earth in the browser.
How can I make this kind of application for myself, what is the best way for doing so?
You should look at the Google Earth Api documentation. http://code.google.com/apis/earth/documentation/reference/
Simple objects like points, polylines and polygons can be created via the api or loaded in Kml format. Take a look at the following documents.
Geometries and Overlays
http://code.google.com/apis/earth/documentation/geometries.html
Introduction to Kml
http://code.google.com/apis/earth/documentation/kml.html
From the sounds of it the KML approach might be the easiest thing - depending on the nature of the application. If you have some existing data in Google Earth, it would be easy to save this as a kml or kmz file and load it in to the Google Earth Api.