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

2012-02-29 Thread Murat Beyhan
Chaitanya, I have had a progress about VRT data access but I afraid something wrong in mapserver .map file. here is the test.vrt file and I use in map file with connection ogr functionality. : MYSQL:dynamic,user=root,password=mysql_passwd,host=localhost,port=3306,tables=lineview select eq_id,

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

2012-02-29 Thread Chaitanya kumar CH
Murat, You should check MySQL's SQL syntax to concatenate strings and decimals to produce a string. On Wednesday, February 29, 2012, Murat Beyhan wrote: > Chaitanya, > > here is the structure of table on database > > sfault : > > eq_id varchar(14) > lat1 decimal(7,4) > lon1 decimal(7,4) > lat2

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

2012-02-29 Thread Murat Beyhan
Chaitanya, here is the structure of table on database sfault : eq_id varchar(14) lat1 decimal(7,4) lon1 decimal(7,4) lat2 decimal(7,4) lon2 decimal(7,4) lineview : eq_id varchar(14) geom double it seams geom as double I thing it should be geometry isn't it? may

Re: [gdal-dev] VRT file from NetCDF

2012-02-29 Thread Etienne Tourigny
Can you not pass the full path to the vrt file? This would resolve the problem. Like Even I don't see an easy fix in the driver. Etienne On Wed, Feb 29, 2012 at 6:57 AM, Yves Jacolin wrote: > Even, > > I understand. > > Thanks, > > Y. > Le Mercredi 29 Février 2012 09:54:27 Even Rouault a écrit

[gdal-dev] Fwd: [OpenJPEG] python issues with j2k_to_image and image_to_j2k (version 1.5)

2012-02-29 Thread Norman Vine
Begin forwarded message: > From: Xavier Gorroño > Date: February 29, 2012 6:25:07 AM EST > To: OpenJPEG > Subject: [OpenJPEG] python issues with j2k_to_image and image_to_j2k (version > 1.5) > Reply-To: openj...@googlegroups.com > > I have been working in an application for a future satellit

[gdal-dev] Re: Meaning of origin in JP2GML

2012-02-29 Thread Jukka Rahkonen
Jukka Rahkonen mmmtike.fi> writes: > > Hi, > > Is there one, valid and unambiguous interpretation about what the "origin" means > in JPEG2000 OGC-GML style metadata? I found from my own archives a document with title "Storing Geo-Location Metadata in JPEG 2000 files using the OpenGIS GML Sta

Re: [gdal-dev] VRT file from NetCDF

2012-02-29 Thread Yves Jacolin
Even, I understand. Thanks, Y. Le Mercredi 29 Février 2012 09:54:27 Even Rouault a écrit : > Selon Yves Jacolin : > > Hello, > > > > Sorry to come again to this thread :) > > > > It seems that when using relatif file for NETCDF for instance, MapServer > > won't > > work correclty, see Even com

Re: [gdal-dev] GDAL appears to ignore NoDataValue

2012-02-29 Thread Ophir Yoktan
Thanks! it works a follow up "bonus" question I get the same problem when trying to create a mosaic by warping to images to a new dataset. my code is basically copied from the "GDAL Warp API Tutorial" page http://www.gdal.org/warptut.html and adding: psWarpOptions->padfSrcNoDataReal = new double

Re: [gdal-dev] GDAL appears to ignore NoDataValue

2012-02-29 Thread Even Rouault
Selon Ophir Yoktan : Several errors : 1) The NoDataValue and HideNoDataValue elements are only valid under the VRTRasterBand element, not SimpleSource 2) You want to change SimpleSource to ComplexSource, and add a 0 element in it. (well basically rename your current NoDataValue to NODATA. > I'm

Re: [gdal-dev] ogr2ogr conversion

2012-02-29 Thread Paolo Corti
On Wed, Feb 29, 2012 at 9:54 AM, Dirk Vermeer wrote: > Not sure if this is the right way to ask a question... > I am wondering if there is an option in ogr2ogr to use a custom delimiter in > the conversion of shapefiles to csv with ogr2ogr. The csv outfile has a comma > as the default delimiter,

Re: [gdal-dev] ogr2ogr conversion

2012-02-29 Thread Even Rouault
Selon Dirk Vermeer : > Not sure if this is the right way to ask a question... > I am wondering if there is an option in ogr2ogr to use a custom delimiter in > the conversion of shapefiles to csv with ogr2ogr. The csv outfile has a comma > as the default delimiter, but what I need is a semicolon as

Re: [gdal-dev] VRT file from NetCDF

2012-02-29 Thread Even Rouault
Selon Yves Jacolin : > Hello, > > Sorry to come again to this thread :) > > It seems that when using relatif file for NETCDF for instance, MapServer > won't > work correclty, see Even comment below. > > Is it a bug from GDAL? Do I need to open a ticket about this? I don't see an easy fix to impro

[gdal-dev] ogr2ogr conversion

2012-02-29 Thread Dirk Vermeer
Not sure if this is the right way to ask a question... I am wondering if there is an option in ogr2ogr to use a custom delimiter in the conversion of shapefiles to csv with ogr2ogr. The csv outfile has a comma as the default delimiter, but what I need is a semicolon as delimiter. Is this possible