Hi,
I need to créate from 100 to 1000 images from diferente places in the country based on information stored on a shapefile.
This image will have 5 or 6 layers opened in order to show all the information.
The thing here is that the process needs to be done on the web.
The user inputs a list of ids and for each one, the application needs to generate does images based on their id polygon center point and also move the zoom level in order to take the best image.
Any advice?
Multiple Images of the country
Hi Rodrigo,
As below is my understanding about your requirement.
1. You have a shape file(or some files?), contains shape and data. You want to render them on map (Why we need 5 or 6 layers for one single shape file and how it would be rendered looks like?).
2. You are using our web edition for that. And user can input id, this id corresponding a polygon on map. We will zoom to the extent center by the polygon center point.
3. You want to porint current extent to an image.
If what I understand is correct. That’s not hard.
You should want to render your shape file on map, and open cache for better performance, then search feature by id and change current extent by target feature. Then print screen.
Regards,
Don
Yes
1. I have one shapefile already with grids for the country thats the first file (shp)
then the second one is municipios or their equivalent like county (shp)
then agebs which is an graphycal association of blocks (shp)
Then another one with urban blocks (shp)
Another one with lines wich are streets (wms)
another one with the name of Green áreas or forest áreas (wms)
another one which have the stores of the country (sql 2008)
All of them goes in the map. Here is the example
54.201.164.148/idm/
2. Yes it would be better if user can upload a list of ids
3. Download all the images generated
The problem is that the render is too slow so i have an image before the map goes in place.
Hi Rodrigo,
Your scenario is a standard one just like GoogleMap and Our WorldMapKit.
That’s so slow because it looks like you show everything in each zoom level.
Please don’t do that because when you zoom out and show detail streets, that will be very very slow!
You can design how to render all your layers.
For example,
grids for the country thats the first file (shp) Level 1 to Level 10
municipios or their equivalent like county (shp) Level 5 to level 13
agebs which is an graphycal association of blocks (shp) level 7 to level 15
…
lines wich are streets (wms) level 13 to level 20
…
You should want to design and adjust this for find a balance point where the image looks well and the speed not too slow.
You can view GoogleMap, BingMap or YahooMap to see in which level they put what type of data.
Please make sure build index for each layer.
If you found any layer is too heavy and it will be render too slow, for common it should be for streets. We have some other solution for solve that. Please let me know if you found this situation.
Regards,
Don
Thank you so much… its faster now. i consider to dont use some layers and use the worldmapkitwebwms. and with the other layers i code with your approach.
Hi Rodrigo,
I am glad to hear that help you enhancement your map performance.
Any question please feel free to let us know.
Regards,
Don