Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Perl Mapping (GIS)

by bliako (Monsignor)
on Nov 14, 2018 at 10:43 UTC ( [id://1225779]=note: print w/replies, xml ) Need Help??


in reply to Perl Mapping (GIS)

As amateur and newbie to GIS: I wanted to superimpose data from OpenStreetMap (roads) onto an image made from tiles downloaded from one of the free satellite earth images sites (zoom earth).

QGIS which is free helped me to transform my image in order for it to correspond to correct lat/lon coordinates using 3 landmarks with known lat/lon coordinates. "transform" is more complex than mere scale/translate: the image needs to be warped onto a known coordinate system which allows for expressing the earth's curvature.

All that using a GUI and a plugin ... maybe another plugin could be written for automating the procedure further. But one needs to interact with the input image in order to identify visually the correspondence points. E.g. you know that a given roundabout in an avenue has so-and-so coordinates. You need to visually identify that roundabout in your image. Nobody can do that for you unless you develop image analysis software to do that for known structures... Maybe there is another way unknown to me but that looks like a challenge.

Once my satellite view of my city was mapped on coordinates, I used Geo::ShapeFile::Shape in order to read the shape of each road (downloaded from OpenStreetMap) as a sequence of lat/lon control points and draw them onto the image using Graphics::Magick. The result was accurate enough for my eyes.

That's my minimal (and amateur) experience (and I hate geodesimetry btw).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1225779]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-29 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found