Monday, 12 November 2018

openlayers 2 - convert my large svg image into tiles


This is probably going to annoy the more experienced map people here, but I'm sort of new to all this, or at least I don't have a lot of experience. I know this is a bit strange and not ideal, but I have a huge SVG file of geographical shapes and regions. I want to be able to plot points and draw shapes in Openlayers. The problem is that, of course, this file is over 50 MB, so I can't exactly expect users to load the whole thing then navigate around.
I have a less detailed map for when users are zoomed out, so I'd like to use this map as they zoom in, but then tiling would of course be best. I don't need much detail beyond what I have so using just these two maps as starting points is fine. Like I said, I was planning on using OpenLayers since I've used it in the past but I'm not tied to it. How is the best way for me to proceed?
Thanks.




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...