I am creating Map tiles based on Map Image using Map Tiler software.
Now in that as a first step i selected Map Image from system.
Than i have to set the coordinate system for that i have following options :
See this image:
I choose second option from it. that is WGS84 - Latitude and longitude (EPSG:4326)
In that i have this type of algo to fill up with the coordinate values :
GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84", 6378137,
298.257223563, AUTHORITY["EPSG","7030"]], TOWGS84[0,0,0,0,0,0,0], AUTHORITY["EPSG","6326"]], PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]], UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9108"]], AUTHORITY["EPSG","4326"]]
But its not working for me. The tiles are creating well but when i am trying to create the database using Map2Sqlite software than it takes always static lat-long although i specified the Lat-Long of particular region.
Can anyone suggest which of the option mentioned in above Image should i choose ?
Also if there is any alternate way to create tiles & convert it to Sq Lite db than please suggest me.
As i checked map2sqlite is working well. But when i create tiles at that time passing the coordinates is somewhere wrong.
So anyone can please suggest me while creating tiles from Map image how to pass Coordinates of our region.
Any suggestions or hints will be highly appreciated.
Thanks.
Have a look at this video:
https://www.youtube.com/watch?v=eJxdCe9CNYg
It shows a step by step guide how to overlay an image on top of Google Maps or OpenStreetMap.
MapTiler (http://www.maptiler.com/) generates tiles compatible with the popular global mercator system automatically - these are compatible with most of the API and SDKs.
Related
There are several examples in the API, but for some reason, what I think the biggest feature is eluding me for some reason. I have a list of points and each point needs to be represented by a different icon. I also may have layers that use the same icon which I can find, just not the option for different icons/markers. An example of this would be greatly appreciated!!
I found out how to use the Graphic option to add an array of points that have a different url for their markers (symbols). This used the Picture Marker type. The beauty of JSON!!
I have created a graph in Gephi using GeoLayout (showing network over the world). Now for my visualization I would like to add a background map in sigma.js ideally something like openstreetmap or a similar service. Is that possible?
Otherwise I could also imagining adding the graph to a leaflet map if that is easier. In any case I would need to know how this can be achieved. Any help is appreciated. Thanks!
i am facing this problem : I have in my database some vector data (polylines ...) which describe many world/country/region/cities boundaries.
I would like to have an interactive map on thoses areas.
When i render those data in the browser (data are sent in geojson) this is slow (i'am not surprised).
The next reason, is to generate some raster tiles to represent the areas at different zoom level and to have a way to make the relation between a click on a area and the area selected (to display more info).
I am a newbie in geo tiles :
What is the best tool to generate png/jpg tiles from vector data?
How to make relation between an area clicked and a "id" in database?
I know my questions are very large, but if you have some advices ...
Thanks!
I recently wrote a blog posting on how to improve the rendering speed of raster tiles:
http://blog.webfoot.com/2013/03/12/optimizing-map-tile-generation/
As for connecting a click to a jurisdiction ID, I don't think there is a shortcut: you need to translate the click into lat/lng (or Vast Coordinate System, as I describe in the blog post) and then do a point-in-polygon check. If you are using PostGIS, then you can do an ST_Intersects.
NOTE: if you are using MySQL, the intersection is done with bounding boxes, not the polygons. It still is possible: you just need to grab a point-in-polygon function from somewhere to check which polygon if a bounding-box check gets you more than one.
Here is an example of dots you can click on:
http://maps.webfoot.com/demos/CanadianStimulus/CanadianStimulus.html
Note that because people aren't precise with clicking (especially with tiny dots), I actually make a few pixels around the dots "live" as well as the single-pixel dots. You can also click away from the dot, and then it will show the polygon (which in this example's case, is the federal electoral district).
There is a MongoDB Plugin datasource for Geoserver, a full featured WebGIS Server. You can use it to build up a map rendering service (a WMS actually) ofyour data. Then use Geowebcache to generate tiles of your map.
This way you can use fully featured WebGIS stack, which allows you to manage additional datasources, and easy tile subset recreation if portions of your data get updated.
Also querying features on a map (relation map position to element in database) is provided through Geoservers WFS implementation.
I'm trying to get a graph of the elevation of a KML file, that KML file being the only input. Ideally the end result would be pretty much exactly like http://gmaps-samples-v3.googlecode.com/svn/trunk/elevation/elevation-profile.html, where you can move your mouse along the graph and it would travel along the KML path. This also is achievable by uploading your own file on http://www.geocontext.org/publ/2010/04/profiler/en/?import=kml however I need it on my site!
I'm just learning JS and seeing as the majority of the code is there, can anyone give me any clues on how to modify it to
1) Accept a KML file as the source data
2) remove the "driving", "walking", etc directions for only the path data
I'm going to start messing around with the code but any clues would be greatly appreciated! Thanks
My suggestion would be to use a third party KML parser like geoxml3 or geoxml-v3 to render your KML as a native Google Maps API v3 polyline, then use the elevation service on that polyline like the example in the documentation
Working example (using geoxml3)
i am trying to add some MKOverlays to a MKMapKit. I'll be using our WMS server to fetch tiles based on google's grid location standard and adding them. To make the call, i need to tell our WMS server the google tile (x, y, and zoom level).
i've looked over apple's TileMap sample code which looks like it uses google's tile system.
Does MKMapKit return this information or do i need to derive it from GPS coords?
You have to derive it yourself. I found this sample very useful:
https://github.com/mtigas/iOS-MapLayerDemo