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":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.