Census Tracts Overlay for Google Maps? - 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

Related

KML file from Massachusetts GIS - display in Google Maps API

I've been pulling KML files from the Mass GIS service via their export feature:
http://maps.massgis.state.ma.us/map_ol/oliver.php
For example, a KML output of Population Density per Square Mile looks like this when exported:
http://evrkusd.fatcow.com/populationpersquaremile.kml
I try to add it to my Google Map and nothing shows up, although this code works fine with other kml files from other sources.
var NewLayer = new google.maps.KmlLayer('http://evrkusd.fatcow.com/populationpersquaremile.kml');
NewLayer.setMap(map);
I'm getting the idea that some of the kml tags are outdated or are not accepted by Google Maps API.
Is anyone able to get this file to work for them? Any ideas how I can (preferably easily) update this file to work with Google Maps? I'm going to be using multiple KML files like this, so I'm hoping I can do a fairly quick fix.
Your KML file is still too big:
http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_linktoB.html?filename=http://www.geocodezip.com/geoxml3_test/populationpersquaremile.kml
If you click on the "load KmlLayer" button, it will show you the status return by attempting to load that file in KmlLayer:
Kml Status:DOCUMENT_TOO_LARGE
Your "partial" KML files are not valid xml, if I make the one you posted valid, it works with geoxml3, but the Google Maps API v3 KmlLayer still says it is too big.
See the documentation, the maximum fetched size of a raw KML file is 3M, your file is 7M+.
Fusion Tables can handle much larger KML than client-side maps, up 100MB total (though some limits apply to features). So that might be a solution.

Google Maps API v3 & easy methods of generating KML coordinates for overlays?

I have been looking around the google maps documentation and examples and would like to know if there is an easy method of generating coordinates for a state or country etc?
If you are looking for shape files in various formats for all kinds of features, you can have a look at the Natural earth data dataset. It is also available on Google Fusion Tables in different formats.

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.

can i draw path on a google earth image?

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/

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