<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Refsvik,<div><br></div><div>Try reversing your coordinates, as the graphic looks like your output shapefile has had the x/y reversed. Then if you want to display the data against other layers not in WGS 84/EPSG 4326 you'll need to add a .prj file, which can be grabbed from <span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 13px; "><a href="http://spatialreference.org/ref/epsg/4326/esriwkt/">http://spatialreference.org/ref/epsg/4326/</a></span></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px;">Dane</span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div><div><br></div><div><br><div><div>On Jul 3, 2008, at 12:51 AM, Kjell Are Refsvik wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br>I am a graduate student in Information Technology at Ostfold University College - Dept. of Computer Science.<br><br>Nearing the end of my thesis on the challenges and opportunities related to digital photographs I would like to write some code that process pictures and makes a HTML web album (with an embedded map with a numbered legend on it) using open source tools.<br><br>Inspired by GeoPerrys note on command-line style approach to using software (<a href="http://www.perrygeo.net/wordpress/?p=105">http://www.perrygeo.net/wordpress/?p=105</a>) I have been looking for a basic unix toolset to process geodata.<br><br>My geo-data come in the form of a pile of geo-tagged images and my own maps (shapefiles), and going back to GeoPerry, I found a python script:<br><br><a href="http://www.perrygeo.net/wordpress/?p=5">http://www.perrygeo.net/wordpress/?p=5</a><br><br>...that appears to do more or less what I want.<br><br>I should mention that my I have little experience in programming in general and that diving deep into the terminal on my Mac OS X installation feels a bit daunting. Even so, I was able to upgrade my Python-installation yesterday and install GDAL and all its dependencies (I think) to get the script (txt2shp.py) to work.<br><br>When I run the script:<br>http://www.ia-stud.hiof.no/~kjellare/misc/Terminal.png<br><br>...using my data as input:<br>http://www.ia-stud.hiof.no/~kjellare/misc/Norway_map.zip<br>http://www.ia-stud.hiof.no/~kjellare/misc/input.txt<br><br>...and view the output shapefile that comes out of it, I observe this strange offset between the map (or Norway) and my data (geodata from images taken in Norway) and know something must be wrong.<br><br>http://www.ia-stud.hiof.no/~kjellare/misc/QGIS.png<br><br>Not knowing a whole lot about GIS, I would really appreciate help on how to proceed from here to:<br><br>1. Work out the reason behind, and how to fix the offset problem<br>2. Change the map projection (preferably to Mercator) and have the legend dots numbered<br>3. Output a png of a mesh between the map and the legend for web use<br><br>Best regards,<br><br>Kjell Are Refsvik<br>Graduate student<br>Ostfold University College<br>Norway<br>_______________________________________________<br>Discuss mailing list<br>Discuss@lists.osgeo.org<br>http://lists.osgeo.org/mailman/listinfo/discuss<br></div></blockquote></div><br></div></body></html>