Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

If you are looking to host your own tiles you might want to start with some base ones from OSM. I can confirm that the bundled script in Geo-OSM-Tiles works but there are plenty of other non-perl alternatives as described at The OSM Wiki page Category:Tile_downloading

downloadosmtiles.pl --lat=-27.919123 --lon=153.386257 --zoom=13:14

Using Openlayers you can do a lot of the transforms and adding image layer and vector rendering quite nicely in the browser directly and the downloaded tiles are neatly packaged ready to be served and consumed by OpenLayers. NB - if I remember correctly there are a few little tweaks to get the tile file format pattern correct but is not complex and works really well.

One of the things I remember surprising me when I was playing with this stuff is that it's almost trivial to transform location formats which can be a reason people jump into dependence on a backend geo application server.


In reply to Re^2: Perl Mapping (GIS) by localshop
in thread Perl Mapping (GIS) by johnfl68

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-28 18:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found