Re: [OSGeo-Discuss] Call for help: GDAL and txt2shp.py
On 3-Jul-08, at 4:25 PM, Kjell Are Refsvik wrote: In Qgis you should be able to reproject to UTM and label your points. Qgis will also export to PNG format if that is what you want. However I don't think that Qgis will output an ESRI world file (the only way that I know to keep a PNG spatially reference... but the application uDIG will output a .wld world file to spatially reference a PNG). I am in need of a open source command-line style software here, in order to automate this entire endevour. Both uDIG and QGIS appears to be GUI style applications. You had mentioned to me earlier about GDAL/OGR from the infamous Kyngchaos package, right? Do you have the command "gdalinfo" and "ogrinfo" - they will be your best friends soon. Tyler ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
Re: [OSGeo-Discuss] Call for help: GDAL and txt2shp.py
On 3. juli. 2008, at 23.02, Dane Springmeyer wrote: ... However - I have another dataset from the middle east, and approaching this data the same way, even trying to reverse the dataset from the images, it still fails: http://www.ia-stud.hiof.no/~kjellare/misc/gdal_fail1.png http://www.ia-stud.hiof.no/~kjellare/misc/gdal_fail2.png I can see from the Qgis mouse coordinates in the lower right that the shapefile you created likely has x,y coordinates in a projected coordinate system (at least different from WGS 84/4326). My first (wild) guess would be to add a .prj file from spatialreference.org for a UTM zone that covers your area of the middle east (you'll be need to find out what exact zone number is needed if it is in UTM). I would try: http://www.google.com/search?hl=en&q=site%3Ahttp%3A%2F%2Fspatialreference.org+utm+middle+east&btnG=Search Not having worked much with GIS systems or projection/coordinate systems before, I am struggling to understand the meaning of all this. However, the following (esriwkt) was the result of the visit to the link above, and I am injected it into the .prj file before running the script all over again: PROJCS["Nahrwan 1967 / UTM zone 39N",GEOGCS["Nahrwan 1967",DATUM["D_Nahrwan_1967",SPHEROID["Clarke_1880_RGS", 6378249.145,293.465]],PRIMEM["Greenwich",0],UNIT["Degree", 0.017453292519943295 ]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin", 0],PARAMETER["central_meridian",51],PARAMETER["scale_factor", 0.9996],PARAMETER["false_easting",50],PARAMETER["false_northing", 0],UNIT["Meter",1]] Please let me know if I got this completely wrong and please excuse my lack of knowledge here. UTM is a likely candidate if the data came from a GPS unit, but its just a guess. It did. Garmin GPSMap 60 CS. But, still, even with the new projection file, this thing still looks like this: http://www.ia-stud.hiof.no/~kjellare/misc/gdal_fail3_lebanon.png I even tried reversing the coordinates in the input file, but with almost the same result: http://www.ia-stud.hiof.no/~kjellare/misc/gdal_fail3_lebanon2.png Hm... Not sure how to proceed from here. ... In Qgis you should be able to reproject to UTM and label your points. Qgis will also export to PNG format if that is what you want. However I don't think that Qgis will output an ESRI world file (the only way that I know to keep a PNG spatially reference... but the application uDIG will output a .wld world file to spatially reference a PNG). I am in need of a open source command-line style software here, in order to automate this entire endevour. Both uDIG and QGIS appears to be GUI style applications. Are there a way around this to let me export the shapefiles I have to a .png raster file to complete my mission? Kjell Are ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
Re: [OSGeo-Discuss] Call for help: GDAL and txt2shp.py
On Jul 3, 2008, at 1:40 PM, Kjell Are Refsvik wrote: On 3. juli. 2008, at 21.36, Dane Springmeyer wrote: Refsvik, Try reversing your coordinates, as the graphic looks like your output shapefile has had the x/y reversed. Splendid! That did the trick. great. However - I have another dataset from the middle east, and approaching this data the same way, even trying to reverse the dataset from the images, it still fails: http://www.ia-stud.hiof.no/~kjellare/misc/gdal_fail1.png http://www.ia-stud.hiof.no/~kjellare/misc/gdal_fail2.png I can see from the Qgis mouse coordinates in the lower right that the shapefile you created likely has x,y coordinates in a projected coordinate system (at least different from WGS 84/4326). My first (wild) guess would be to add a .prj file from spatialreference.org for a UTM zone that covers your area of the middle east (you'll be need to find out what exact zone number is needed if it is in UTM). I would try: http://www.google.com/search?hl=en&q=site%3Ahttp%3A%2F%2Fspatialreference.org+utm+middle+east&btnG=Search UTM is a likely candidate if the data came from a GPS unit, but its just a guess. ... trying to have the dots numbered or named and outputting the two layers as a transverse mercator projected .png file are the two things left to do. I would really appreciate some input on how to proceed, as I cannot figure out if gdal_rasterize can be used for this purpose. In Qgis you should be able to reproject to UTM and label your points. Qgis will also export to PNG format if that is what you want. However I don't think that Qgis will output an ESRI world file (the only way that I know to keep a PNG spatially reference... but the application uDIG will output a .wld world file to spatially reference a PNG). I'd recommend #qgis or #udig with further questions. Dane Best regards, Kjell Are ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
Re: [OSGeo-Discuss] GFOSS apps in Poseidon Linux
Bonjour Guillaume, Here I reproduce the same message I sent to Andreas: -- Well, I need just a simple http area with the .iso file and the md5sum file. If you can build something like this... http://g3pd.ufpel.edu.br/mirrors/poseidon/ ...(but with some text in French or English) is even better. Our time doesn't need control over this "area" to upload a newer version (when is available)... we can contact you. Is this reasonable in your opinion? -- If this is also possible for you, fell free to do it. And... Merci! BTW for all OSGeo: I got a message from Portugal, some people is already starting to promote the use of Poseidon in some classes for a course of engineering (they use Octave and R). Cordialement, Christian On Thu, Jul 3, 2008 at 9:24 AM, Guillaume Sueur <[EMAIL PROTECTED]> wrote: > same for me, I can offer you 2 Gb hosting with no problem. > > Regards, > > Guillaume (France) > > Dr. Andreas M?üller a écrit : >> >> Christian, >> >> could you specify the requirements, we have some servers rented at a >> pretty fast German provider. Mirroring some 2 gig should be no problem. >> >> Andreas >> >> Christian Ferreira schrieb: >>> >>> Thank you Tyler, >> >> >>> Well, we lack the infrastructure to put a tracker/torrent. I can try >>> do it at home, but my upload rate is 70Kb/s... it's slow to seed >>> 1.7Gb. >> >>> While the HTTP host can provide the .iso with speeds like for >>> example... 700Kb/s (ten times faster). >> >>> What could be really helpful is a mirror in the North hemisphere (USA >>> or Europe). Any idea? >> >>> Best regards, >>> Christian >> >>> On Wed, Jul 2, 2008 at 8:41 PM, Tyler Mitchell (OSGeo) >>> <[EMAIL PROTECTED]> wrote: Welcome Christian, I look forward to trying it out. I downloaded the iso yesterday but unfortunately my download got corrupted (probably my multiple start-finishes I had :) ) - so I look forward to trying it again tonight. Any chance of putting up a version for torrent use? I'm not too familiar with it but perhaps if others on here know how to start a new torrent, we can share it. Tyler On 2-Jul-08, at 11:31 AM, Christian Ferreira wrote: > Hi Tyler and all, > > > Now there is officially someone (me) from the Poseidon Linux team on > this > list. > > Poseidon Linux 3.0 is brand new... released 12 days ago. ;-) > > The main language for it is now English, but with pre-installed > packages for Portuguese, Spanish and German. > > Best regards, > Christian > ...from the Poseidon Linux team > ___ > Discuss mailing list > Discuss@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/discuss Tyler Mitchell Executive Director Open Source Geospatial Foundation [EMAIL PROTECTED] P: +1-250-277-1621 M: +1-250-303-1831 ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss >>> ___ >>> Discuss mailing list >>> Discuss@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/discuss >> >> > > ___ > > > ___ > Discuss mailing list > Discuss@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/discuss > ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
Re: [OSGeo-Discuss] GFOSS apps in Poseidon Linux
Hallo Andreas, Vielen Dank for your reply! Sorry to take so much time to write back. Well, I need just a simple http area with the .iso file and the md5sum file. If you can build something like this... http://g3pd.ufpel.edu.br/mirrors/poseidon/ ...(but with some text in German or English) is even better. Our time doesn't need control over this "area" to upload a newer version (when is available)... we can contact you. Is this reasonable in your opinion? Viele Grüße, Christian On Thu, Jul 3, 2008 at 9:10 AM, "Dr. Andreas M?üller" <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Christian, > > could you specify the requirements, we have some servers rented at a > pretty fast German provider. Mirroring some 2 gig should be no problem. > > Andreas > > Christian Ferreira schrieb: >> Thank you Tyler, >> >> >> Well, we lack the infrastructure to put a tracker/torrent. I can try >> do it at home, but my upload rate is 70Kb/s... it's slow to seed >> 1.7Gb. >> >> While the HTTP host can provide the .iso with speeds like for >> example... 700Kb/s (ten times faster). >> >> What could be really helpful is a mirror in the North hemisphere (USA >> or Europe). Any idea? >> >> Best regards, >> Christian >> >> On Wed, Jul 2, 2008 at 8:41 PM, Tyler Mitchell (OSGeo) >> <[EMAIL PROTECTED]> wrote: >>> Welcome Christian, >>> >>> I look forward to trying it out. I downloaded the iso yesterday but >>> unfortunately my download got corrupted (probably my multiple >>> start-finishes I had :) ) - so I look forward to trying it again tonight. >>> Any chance of putting up a version for torrent use? I'm not too familiar >>> with it but perhaps if others on here know how to start a new torrent, we >>> can share it. >>> >>> Tyler >>> >>> On 2-Jul-08, at 11:31 AM, Christian Ferreira wrote: >>> Hi Tyler and all, Now there is officially someone (me) from the Poseidon Linux team on this list. Poseidon Linux 3.0 is brand new... released 12 days ago. ;-) The main language for it is now English, but with pre-installed packages for Portuguese, Spanish and German. Best regards, Christian ...from the Poseidon Linux team ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss >>> Tyler Mitchell >>> Executive Director >>> Open Source Geospatial Foundation >>> [EMAIL PROTECTED] >>> P: +1-250-277-1621 >>> M: +1-250-303-1831 >>> >>> >>> ___ >>> Discuss mailing list >>> Discuss@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/discuss >>> >> ___ >> Discuss mailing list >> Discuss@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/discuss >> > > - -- > chromgruen Planungs- und Beratungs- GmbH & Co. KG > Alfredstr. 51 > D-45130 Essen > Telefon +49(0)201 - 185 355 0 > Telefax +49(0)201 - 185 355 1 > http://www.chromgruen.com > - - > Geschäftsführer: Dr. Andreas Müller > Sitz der Gesellschaft: Essen > Amtsgericht Essen HR A 8547 > UStIDNr.: DE244104036 > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.8 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkhse3AACgkQvyi4dZK5FSCWbgCfRUwWRpgRpOLmmsjtCfZUFr9W > IpoAn2WRZa3tcGsAbFeHT40VQQR3qtPz > =dtMt > -END PGP SIGNATURE- > > ___ > Discuss mailing list > Discuss@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/discuss > > ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
Re: [OSGeo-Discuss] Call for help: GDAL and txt2shp.py
On 3. juli. 2008, at 21.36, Dane Springmeyer wrote: Refsvik, Try reversing your coordinates, as the graphic looks like your output shapefile has had the x/y reversed. Splendid! That did the trick. http://www.ia-stud.hiof.no/~kjellare/misc/gdal_success.png However - I have another dataset from the middle east, and approaching this data the same way, even trying to reverse the dataset from the images, it still fails: http://www.ia-stud.hiof.no/~kjellare/misc/gdal_fail1.png http://www.ia-stud.hiof.no/~kjellare/misc/gdal_fail2.png Any ideas on what could be wrong here is appreciated. 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 http://spatialreference.org/ref/epsg/4326/ Thanks. Just before it crashed, I just got that tip from a kind individual on irc://irc.freenode.net/#gdal Dane Now, with this as a reference: http://www.perrygeo.net/wordpress/?p=5 ... trying to have the dots numbered or named and outputting the two layers as a transverse mercator projected .png file are the two things left to do. I would really appreciate some input on how to proceed, as I cannot figure out if gdal_rasterize can be used for this purpose. Best regards, Kjell Are ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
Re: [OSGeo-Discuss] Call for help: GDAL and txt2shp.py
Refsvik, 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 http://spatialreference.org/ref/epsg/4326/ Dane On Jul 3, 2008, at 12:51 AM, Kjell Are Refsvik wrote: Hi, I am a graduate student in Information Technology at Ostfold University College - Dept. of Computer Science. 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. Inspired by GeoPerrys note on command-line style approach to using software (http://www.perrygeo.net/wordpress/?p=105) I have been looking for a basic unix toolset to process geodata. 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: http://www.perrygeo.net/wordpress/?p=5 ...that appears to do more or less what I want. 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. When I run the script: http://www.ia-stud.hiof.no/~kjellare/misc/Terminal.png ...using my data as input: http://www.ia-stud.hiof.no/~kjellare/misc/Norway_map.zip http://www.ia-stud.hiof.no/~kjellare/misc/input.txt ...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. http://www.ia-stud.hiof.no/~kjellare/misc/QGIS.png Not knowing a whole lot about GIS, I would really appreciate help on how to proceed from here to: 1. Work out the reason behind, and how to fix the offset problem 2. Change the map projection (preferably to Mercator) and have the legend dots numbered 3. Output a png of a mesh between the map and the legend for web use Best regards, Kjell Are Refsvik Graduate student Ostfold University College Norway ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
[OSGeo-Discuss] Call for help: GDAL and txt2shp.py
Hi, I am a graduate student in Information Technology at Ostfold University College - Dept. of Computer Science. 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. Inspired by GeoPerrys note on command-line style approach to using software (http://www.perrygeo.net/wordpress/?p=105) I have been looking for a basic unix toolset to process geodata. 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: http://www.perrygeo.net/wordpress/?p=5 ...that appears to do more or less what I want. 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. When I run the script: http://www.ia-stud.hiof.no/~kjellare/misc/Terminal.png ...using my data as input: http://www.ia-stud.hiof.no/~kjellare/misc/Norway_map.zip http://www.ia-stud.hiof.no/~kjellare/misc/input.txt ...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. http://www.ia-stud.hiof.no/~kjellare/misc/QGIS.png Not knowing a whole lot about GIS, I would really appreciate help on how to proceed from here to: 1. Work out the reason behind, and how to fix the offset problem 2. Change the map projection (preferably to Mercator) and have the legend dots numbered 3. Output a png of a mesh between the map and the legend for web use Best regards, Kjell Are Refsvik Graduate student Ostfold University College Norway ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
Re: [OSGeo-Discuss] GFOSS apps in Poseidon Linux
same for me, I can offer you 2 Gb hosting with no problem. Regards, Guillaume (France) Dr. Andreas M?üller a écrit : Christian, could you specify the requirements, we have some servers rented at a pretty fast German provider. Mirroring some 2 gig should be no problem. Andreas Christian Ferreira schrieb: Thank you Tyler, Well, we lack the infrastructure to put a tracker/torrent. I can try do it at home, but my upload rate is 70Kb/s... it's slow to seed 1.7Gb. While the HTTP host can provide the .iso with speeds like for example... 700Kb/s (ten times faster). What could be really helpful is a mirror in the North hemisphere (USA or Europe). Any idea? Best regards, Christian On Wed, Jul 2, 2008 at 8:41 PM, Tyler Mitchell (OSGeo) <[EMAIL PROTECTED]> wrote: Welcome Christian, I look forward to trying it out. I downloaded the iso yesterday but unfortunately my download got corrupted (probably my multiple start-finishes I had :) ) - so I look forward to trying it again tonight. Any chance of putting up a version for torrent use? I'm not too familiar with it but perhaps if others on here know how to start a new torrent, we can share it. Tyler On 2-Jul-08, at 11:31 AM, Christian Ferreira wrote: Hi Tyler and all, Now there is officially someone (me) from the Poseidon Linux team on this list. Poseidon Linux 3.0 is brand new... released 12 days ago. ;-) The main language for it is now English, but with pre-installed packages for Portuguese, Spanish and German. Best regards, Christian ...from the Poseidon Linux team ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss Tyler Mitchell Executive Director Open Source Geospatial Foundation [EMAIL PROTECTED] P: +1-250-277-1621 M: +1-250-303-1831 ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss ___ ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
Re: [OSGeo-Discuss] GFOSS apps in Poseidon Linux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian, could you specify the requirements, we have some servers rented at a pretty fast German provider. Mirroring some 2 gig should be no problem. Andreas Christian Ferreira schrieb: > Thank you Tyler, > > > Well, we lack the infrastructure to put a tracker/torrent. I can try > do it at home, but my upload rate is 70Kb/s... it's slow to seed > 1.7Gb. > > While the HTTP host can provide the .iso with speeds like for > example... 700Kb/s (ten times faster). > > What could be really helpful is a mirror in the North hemisphere (USA > or Europe). Any idea? > > Best regards, > Christian > > On Wed, Jul 2, 2008 at 8:41 PM, Tyler Mitchell (OSGeo) > <[EMAIL PROTECTED]> wrote: >> Welcome Christian, >> >> I look forward to trying it out. I downloaded the iso yesterday but >> unfortunately my download got corrupted (probably my multiple >> start-finishes I had :) ) - so I look forward to trying it again tonight. >> Any chance of putting up a version for torrent use? I'm not too familiar >> with it but perhaps if others on here know how to start a new torrent, we >> can share it. >> >> Tyler >> >> On 2-Jul-08, at 11:31 AM, Christian Ferreira wrote: >> >>> Hi Tyler and all, >>> >>> >>> Now there is officially someone (me) from the Poseidon Linux team on this >>> list. >>> >>> Poseidon Linux 3.0 is brand new... released 12 days ago. ;-) >>> >>> The main language for it is now English, but with pre-installed >>> packages for Portuguese, Spanish and German. >>> >>> Best regards, >>> Christian >>> ...from the Poseidon Linux team >>> ___ >>> Discuss mailing list >>> Discuss@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/discuss >> Tyler Mitchell >> Executive Director >> Open Source Geospatial Foundation >> [EMAIL PROTECTED] >> P: +1-250-277-1621 >> M: +1-250-303-1831 >> >> >> ___ >> Discuss mailing list >> Discuss@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/discuss >> > ___ > Discuss mailing list > Discuss@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/discuss > - -- chromgruen Planungs- und Beratungs- GmbH & Co. KG Alfredstr. 51 D-45130 Essen Telefon +49(0)201 - 185 355 0 Telefax +49(0)201 - 185 355 1 http://www.chromgruen.com - - Geschäftsführer: Dr. Andreas Müller Sitz der Gesellschaft: Essen Amtsgericht Essen HR A 8547 UStIDNr.: DE244104036 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkhse3AACgkQvyi4dZK5FSCWbgCfRUwWRpgRpOLmmsjtCfZUFr9W IpoAn2WRZa3tcGsAbFeHT40VQQR3qtPz =dtMt -END PGP SIGNATURE- begin:vcard fn;quoted-printable:Dr. Andreas M=C3=BCller n;quoted-printable:M=C3=BCller;Dr. Andreas org:chromgruen Planungs- und Beratungs- GmbH & Co. KG adr:;;Alfredstr. 51;Essen;NRW;45130;Deutschland email;internet:[EMAIL PROTECTED] title;quoted-printable:Gesch=C3=A4ftsf=C3=BChrer tel;work:+49(201)185355-0 tel;fax:+49(201)185355-1 tel;cell:+49(177)3185355 x-mozilla-html:FALSE url:http://www.chromgruen.com version:2.1 end:vcard ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss