Tag Info

New answers tagged

0

The two GIS web mapping terms you are describing are indeed clustering and then spatial indexing. Clustering is usually done client side while indexing is done server side, usually using a geodatabase, with a server-side map rendering engine in the middle. In KML, there is a relatively new feature called "Regions" which tries to handle the display side of ...


0

All I do is add my kml/kmz url as an argument to google maps ... like this: http://maps.google.com/?q=http://www.garrettcounty.org/resources/planning-land-development/pdf/Maps/2005tilegrid.kmz


1

I wrote this for python and return a qgisPoint: def nearestPoint(A, B, p): A0 = A[0] A1 = A[1] B0 = B[0] B1 = B[1] p0 = p[0] p1 = p[1] AB0 = B0-A0 AB1 = B1-A1 AB_squared = (AB0*AB0+AB1*AB1)+0.0 if (AB_squared == 0): return A else: Ap0 = p0-A0 Ap1 = p1-A1 t = ...


3

To a high relative accuracy, in this application--where the region to be mapped will not extend more than a few hundred meters and it is not near either pole--you can treat lat-lon as a Cartesian coordinate system that uses two different linear units of measure. Each degree of latitude will be approximately 111300 meters (and a more accurate value, which ...


2

How are you obtaining your lat/longs out of curiosity? Without access to a DGPS you will be hard pressed to get sub metre accuracy anyway. This 2 point Coordinate Transformations (Basic) spreadsheet is quite useful. Try to use control points at the outer extremities of your site as the further from these points you are the less accurate the transformation. ...


2

http://www.mapstylr.com/, a map editor easier to use than Google Map Wizard, (with save option), and it has a SHOWCASE of maps with JSONs. I know this is an old topic, but someone could get here via google as I was. Cheers.


1

For Openstreetmap, the parameters are quite simple: http://www.openstreetmap.org/#map=10/47.1911/2.4884 http://www.openstreetmap.org/#map= : base url 10/ : zoom level 47.1911/ : latitude of center, North positive 2.4884 : longitude of center, East positive ...


0

The API gives you the KmlLayer class, which "creates a KmlLayer which renders the contents of the specified KML/KMZ file". Just pass the URL you're given in the KmlLayerOptions.


0

it actually says "meters" in the API reference for Distance Objects.


2

The function signature is: computeDistanceBetween(from:LatLng, to:LatLng, radius?:number) Given the documentation for the computeArea() function just above, I think you can safely assume it is in the same units as the radius, where "the default radius is Earth's radius of 6378137 meters". Of course, the earth isn't as spherical as Google Maps might like ...


2

The first thing you will want to do is look at the Google Terms of Use and Licensing. Google is very particular on how their data and software can be used. I would look at this first as it may be a show-stopper. The second thing I would consider is that the imagery in Google isn`t raw imagery; they are chips or tiles of data saved in a web tiling format. ...


0

You might have more options if you consider vector-data sources also. If you are a bit familiar with GIS you can render and export the shapefile with the look you want for you map. If not these are relatively easy GIS tasks and not too difficult to get into. naturalearthdata.com has some nice shapefiles with world political boundaries. I think they have a ...


0

Google allows you style the map tiles themselves. You won't need the CartoDB API for this. It's not a true "opacity" of the map layer, but you can use the map style to change the lightness of the map tiles to achieve what I believe is the effect you want. Check out https://developers.google.com/maps/documentation/javascript/styling for examples. However ...


1

The error is not on your side, but on Google's side. See http://alastaira.wordpress.com/2011/01/23/the-google-maps-bing-maps-spherical-mercator-projection/ http://www.hydrometronics.com/downloads/Web%20Mercator%20-%20Non-Conformal,%20Non-Mercator%20(notes).pdf They claim to use a sphere (a=b), but really use the WGS84 ellipsoid (a>b) lat/lon coordinates. ...


0

The coordinate systems you mentioned, WGS 1984 and WGS84 Web Mercator (Auxiliary Sphere) (EPSG:3857), use the same spheroid and datum with parameters you written for WGS84. The semiminor and semimajor axis are not the same. Maybe that is the source of the error. See the description of the EPSG:3857 spatial reference.


2

Have a look at Mapillary I think they share the same goals as you and they are making this possible. I have not used it yet (no time) but it looks like a good option to StreetView. The How to Do it is here and it looks like they will make all the data and images available to developers via an api. The quoted terms are: API Usage We allow the use of our ...


0

I found the solution using ArcGIS. In ArcMap before you export the layer, you need to set some specifications rightly for the exported kml file properties. Go to Layer properties, then from the HTML Popup tab uncheck "Show content for this layer using the HTML Popup tool" check-box. Then convert in any means X-tools or ArcToolbox to kml doen't matter.


2

You definitely need coordinates or to join that data with existing polygons/points. A quick look at your data shows that it is broken down into boroughs or district numbers. My next step would be to join this data in ArcGIs or QGIS (whatever solution you have available to you) to either the boroughs or districts. This will allow you to visualize the ...


1

You could save out the KML and then use notepad++ to do a search and replace using regular expressions. So in notepad++ I would use: and in the replace tab just place <description></description>


1

Try using CSS: #map-canvas div { cursor: pointer !important }


2

Basically I just set a count attributes as the following codes: data.push( { attributes: {count:commuterAmt}, geometry: { spatialReference: { wkid: 102100 }, type: "point", x: coordXicon, y: ...


2

Thanks for the clarification. It appears that you are mixing the ArcGIS JS API's map object with the Google Maps API's heatmap functionality. This is highly unlikely to work. Instead you could look at the ArcGIS Server JS API's heatmap functionality. This isn't officially supported but stands a better chance of working - see ...


1

I think you need to specify the srs parameter of your layer: srs : '32024' //NAD27 or srs : '32126' //NAD83



Top 50 recent answers are included