Re: [gdal-dev] Strange behaviour of gdal_translate with ECW on linux (libecw 3.3)

2012-02-27 Thread Jean-Claude Repetto
On 02/28/12 02:15, andreaerdna wrote: - the 32-bit GDAL versions/builds 1.7.3 from www.gisinternals.com/sdk and 1.7.0b2 from FWTools 2.4.7 on 64-bit/32-bit Windows tested using gdal_translate without a "TARGET" creation option behave the same way producing an output ECW file of 164.417.131 bytes

Re: [gdal-dev] drawing line using OGR and mysql in mapserver

2012-02-27 Thread Murat Beyhan
Chaitanya, Map file which is try to draw line as follows are there any problem on the code LAYER NAME sfault1 CONNECTIONTYPE OGR CONNECTION ' MYSQL:dynamic,user=root,password=mysqlpasswd,host=localhost,port=3306,tables=lineview lineview wkbLineString WGS84 eq_id ' DATA sfault1

Re: [gdal-dev] drawing line using OGR and mysql in mapserver

2012-02-27 Thread Chaitanya kumar CH
Murat, Since it is MySQL it doesn't matter much how you store it. If you are going to edit the end points later, storing them as points is preferable, otherwise store them as wkt linestring geometries. For your mapfile, first check if the extents are correct. Then check if the mapfile works with

Re: [gdal-dev] Strange behaviour of gdal_translate with ECW on linux (libecw 3.3)

2012-02-27 Thread andreaerdna
I've done some tests using a PNG image (22080x11520 pixels, 4 bands, 469.969.142 bytes) as source dataset. Testing Operative Systems are: 1) MS Windows 7 HP SP1 64-bit 2) Ubuntu Linux 10.04 64-bit (kernel 2.6.32-38.83) 3) MS Windows XP Pro SP3 32-bit Testing GDAL versions are: 1) builds for

Re: [gdal-dev] drawing line using OGR and mysql in mapserver

2012-02-27 Thread Murat BEYHAN
Chaitanya, thanks for your repply, Actually I use ogr and mysql to draw point for example epicenter of earthquakes. But this is the first time to draw line which is stored in Mysql as a table. Actually there is no problem on drawing shape file of the line. But I would like to draw it using My

Re: [gdal-dev] Strange behaviour of gdal_translate with ECW on linux (libecw 3.3)

2012-02-27 Thread andreaerdna
Sylvain Maffren wrote > > I try to convert RGB tiff file (300 Mo) into ECW ( libecw 3.3 and gdal > 1.8.1 that I have compiled) using this gdal_translate command, on a > Debian Squeeze : gdal_translate -of "ECW" -co LARGE_OK="YES" -co > TARGET="90" -co DATUM="RGF93" -co PROJ="LMFRAN93" file_in

[gdal-dev] FOSS4G North America Call for Presentations Closes March 1

2012-02-27 Thread Paul Ramsey
FOSS4G-NA (April 10-12, in Washington DC) is shaping up to be very successful: nearly half of our 400 registration slots are already filled, and lots of sponsors have signed on. Now it's up to you to bring the magic! If you are planning to speak at FOSS4G-NA, you must submit a presentation abstrac

Re: [gdal-dev] drawing line using OGR and mysql in mapserver

2012-02-27 Thread Chaitanya kumar CH
Murat, First check if your database is accessible using ogrinfo[1]. Then create a vrt file with the content you specified in the CONNECTION field of the mapfile. Check if ogrinfo gives expected results with this file. You probably have gdal executables if you are running mapserver. [1]: http://w

RE: [gdal-dev] Switching from ArcGIS to GDAL

2012-02-27 Thread Smith, Michael
Hi Jon - alas for we ArcGIS users, which even here in 2012 is still a single-threaded application. Who needs more than one CPU core anyway? So your ArcGIS choice is to split your batch up into 12 groups and run the processes simultaneously (which will then take all your CPUs), or use something els

[gdal-dev] Re: Switching from ArcGIS to GDAL

2012-02-27 Thread jgamble
Frank, Thanks for the response. I would like to take the overviews and use them to cache the imagery into a web service ... I am assuming i'd be able to use the overviews to cache. I'll look into gdalbuildvrt command. Do GDAL mosaics allow you to mask tile boundaries at all? I'd like to remove

[gdal-dev] Meaning of origin in JP2GML

2012-02-27 Thread Jukka Rahkonen
Hi, Is there one, valid and unambiguous interpretation about what the "origin" means in JPEG2000 OGC-GML style metadata? 32.0 6953999.5 I have read from a mail by Frank Warmerdam that origin should mean the centre of the anchor pixel. However, it looks

[gdal-dev] drawing line using OGR and mysql in mapserver

2012-02-27 Thread Murat Beyhan
Dear all, I have shared this mail on Mapserver list but could not solve my problem. Still could not achieve to draw line using start and stop point line data stored in MySql database. I have tried Mr. Robert's solution but I have faced an error message. in map file I changed Geometrytype from