Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

comment on

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

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).


In reply to Re: Perl Mapping (GIS) by bliako
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 chilling in the Monastery: (6)
As of 2024-04-18 12:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found