Re: [gdal-dev] Open source vector geoprocessing libraries?

2010-01-14 Thread 刘忠志
maybe we can check the source codes, and promoted that. for example: when we get a feature from a layer , not create a new one every time, just return the same feature, but change the coordinate of features. ___ 好玩贺卡等你发,邮箱贺卡全新上线!

Re: [gdal-dev] reading VPF format NGA DNCs

2010-01-14 Thread Christopher Barker
Christopher Barker wrote: However, when I give the full path: ogrinfo gltp:/vrf/Users/cbarker/Temp/DNC/DNC16/A1611290/ aarrgg! got it! I have to take the last slash off! Darn this is picky! In short, you need the full path, and you can't have a slash at the end. It seems to work OK (so far)

Re: [gdal-dev] reading VPF format NGA DNCs

2010-01-14 Thread Frank Warmerdam
Christopher Barker wrote: vpf_open_table: error opening vpf_open_table: error opening which is a little better -- and indeed there is no "LAT" or "lat" in there -- maybe I don't have a fell set? Though I just downloaded it, and it sure looks like everything is there. Not that I"m sure what

Re: [gdal-dev] reading VPF format NGA DNCs

2010-01-14 Thread Christopher Barker
Christopher Barker wrote: Frank Warmerdam wrote: For what it's worth, the connection string I use is: gltp:/vrf/home/warmerda/data/vpf/dnc13/h1316010 Within the h1316010 directory I have files in lower case: warme...@gdal64[105]% ls h1316010/ cat dqy env hyd lcr libref lineage.doc ob

Re: [gdal-dev] reading VPF format NGA DNCs

2010-01-14 Thread Christopher Barker
Frank Warmerdam wrote: For what it's worth, the connection string I use is: gltp:/vrf/home/warmerda/data/vpf/dnc13/h1316010 Within the h1316010 directory I have files in lower case: warme...@gdal64[105]% ls h1316010/ cat dqy env hyd lcr libref lineage.doc obs rel cul ecr grt iwy

[gdal-dev] suppressing libtiff warnings

2010-01-14 Thread Richard Buenger
Is there some way to turn off libtiff warning messages generated by GDAL calls? How do I tell GDAL to set the libtiff warning handler to null? using c# gdal wrapper in .NET Thank you, Richard ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://li

Re: [gdal-dev] reading VPF format NGA DNCs

2010-01-14 Thread Frank Warmerdam
Martin Chapman wrote: Looks to me like your gltp string is incorrect but I am not the authority on this. I have made it work before with vpf but as I remember you needed to get that gltp string right and I thought you needed to specify the layer with an @ sign. Look at the vpf / ogdi docs unde

RE: [gdal-dev] reading VPF format NGA DNCs

2010-01-14 Thread Martin Chapman
Chris, Here is what the ogr docs say. Look in the directory structure of the VPF to see what layer names and family names you have: gltp:[//]//:: Where is the OGDI Layer name, and is one of: "line", "area", "point", or "text". Usage example 'ogrinfo': ogrinfo gltp:/vrf/usr4/mpp1/v0eur/vmapl

Re: [gdal-dev] reading VPF format NGA DNCs

2010-01-14 Thread Martin Chapman
Looks to me like your gltp string is incorrect but I am not the authority on this. I have made it work before with vpf but as I remember you needed to get that gltp string right and I thought you needed to specify the layer with an @ sign. Look at the vpf / ogdi docs under ogr for an example. M

Re: [gdal-dev] reading VPF format NGA DNCs

2010-01-14 Thread Christopher Barker
Martin Chapman wrote: Do you have the OGDI driver built and configured into GDAL? well, orginfo tells me: FAILURE: Unable to open datasource `gltp:/vrf/a160' with the following drivers. -> ESRI Shapefile -> MapInfo File -> UK .NTF -> SDTS -> TIGER -> S57 -> DGN -> VRT ->

Re: [gdal-dev] reading VPF format NGA DNCs

2010-01-14 Thread Martin Chapman
Do you have the OGDI driver built and configured into GDAL? Martin -Original Message- From: Christopher Barker Date: Thu, 14 Jan 2010 13:08:46 To: 'gdal-dev' Subject: [gdal-dev] reading VPF format NGA DNCs Hi folks, I'm trying to use gdal(ogr) to read NGA vector nautical charts, which

[gdal-dev] reading VPF format NGA DNCs

2010-01-14 Thread Christopher Barker
Hi folks, I'm trying to use gdal(ogr) to read NGA vector nautical charts, which are in the vector product format. However, I"m having no luck. I tried this a while ago (and posted to this list) but gave up before I got it workign then. Here is that thread: http://n2.nabble.com/OGR-and-VPF-t

Re: [gdal-dev] Open source vector geoprocessing libraries?

2010-01-14 Thread Mateusz Loskot
Frank Warmerdam wrote: > Jan Hartmann wrote: >> On 13-1-2010 21:19, Mateusz Loskot wrote: >>> >>> IMHO, it's misunderstanding to consider OGR fully featured data model >>> and I/O engine to read, write, process and analyse spatial vector data, >>> especially if performance is a critical factor. IMH

Re: [gdal-dev] Motion: Paid Maintainer Contract with Chaitanya

2010-01-14 Thread Howard Butler
+1 Howard On Jan 14, 2010, at 12:41 PM, Even Rouault wrote: > +1 > > Best regards, > > Even > > Frank Warmerdam a écrit : >> Motion: Frank Warmerdam is authorized to negotiate a paid maintainer >> contract with Chaitanya Kumar CH for up to $9360 USD at $13USD/hr over >> six months, and would

Re: [gdal-dev] Motion: Paid Maintainer Contract with Chaitanya

2010-01-14 Thread Even Rouault
+1 Best regards, Even Frank Warmerdam a écrit : Motion: Frank Warmerdam is authorized to negotiate a paid maintainer contract with Chaitanya Kumar CH for up to $9360 USD at $13USD/hr over six months, and would be acting as supervisor, operating under the terms of RFC 9 (GDAL Paid Maintainer Gu

Re: [gdal-dev] Open source vector geoprocessing libraries?

2010-01-14 Thread Frank Warmerdam
Jan Hartmann wrote: On 13-1-2010 21:19, Mateusz Loskot wrote: IMHO, it's misunderstanding to consider OGR fully featured data model and I/O engine to read, write, process and analyse spatial vector data, especially if performance is a critical factor. IMHO, there are too many compromises in O

Re: [Gdal-dev] OGR WFS driver

2010-01-14 Thread Mateusz Loskot
Frank Warmerdam wrote: Frode, I'm not sure where the email from Johan came from. Perhaps it was on the list some time ago? Frank, Yes, it's an old message: http://lists.osgeo.org/pipermail/gdal-dev/2008-November/018946.html Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ___

Re: [Gdal-dev] OGR WFS driver

2010-01-14 Thread Frank Warmerdam
Frode, I'm not sure where the email from Johan came from. Perhaps it was on the list some time ago? I am not aware of Johan, or anyone else, having contributed a WFS driver to OGR. I do think it would be an interesting thing to have, and I have contemplated doing one from time to time. Best re

Re: [gdal-dev] gdal_translate JPEG to GeoTiff (help! no one answered...)

2010-01-14 Thread Chaitanya kumar CH
Marco, Check out the '-srcwin' and '-projwin' options in http://www.gdal.org/gdal_translate.html On Thu, Jan 14, 2010 at 10:12 PM, Marco Afonso wrote: > Hmm... I think I did more than just crop... I will check original images. > > Anyway... can i change the corners of this jpeg? > > After that,

Re: [gdal-dev] gdal_translate JPEG to GeoTiff (help! no one answered...)

2010-01-14 Thread Chaitanya kumar CH
Marco, You mentioned that you cropped the original image. I guess you left the meta-data containing the projection info intact. See if you get the correct locations on the map with the original uncropped image. Better yet, check the original image using the '-projwin' option in gdal_translate. On

RE: [gdal-dev] Open source vector geoprocessing libraries?

2010-01-14 Thread Jason Roberts
> > Yes, I see what you mean. But I suggest to the open source community > > that there is still value in implementing such features, either as > > part of OGR or another library, even if optimal performance cannot be > > guaranteed in all scenarios. > > Perhaps you'll find these inspiring: > > htt

RE: [gdal-dev] Open source vector geoprocessing libraries?

2010-01-14 Thread Jason Roberts
Ragi, Nicely done. That is pretty funny. I'm sure there's a few others lurking on the list who have thought of such a thing as well. Could you please send me the code? Thanks! Do you know if it would work if invoked from Python-based geoprocessing tools? We expose a lot of our work to ArcGI

Re: [Gdal-dev] OGR WFS driver

2010-01-14 Thread Frode Wiseth Jørgensen
Hello Was WFS support in OGR implemented? I can't find any docs about it? Regards Frode Wiseth Jørgensen Johan Nouvel wrote: > > Hello, > > Some informations about our driver : > - It uses existing OGR GML driver to parse WFS server message and knows > only gml 1.0 answer, so you must spec

Re: [gdal-dev] gdal_translate JPEG to GeoTiff (help! no one answered...)

2010-01-14 Thread Chaitanya kumar CH
Marco, Please provide the gdalinfo of the source image. On Thu, Jan 14, 2010 at 4:34 PM, Marco Afonso wrote: > > Hi all, > > I'm new to gdal tools. > > I'm trying to transform a JPEG world image to GeoTiff. > > My jpeg world map image is cropped to fit on -180.0, -59.1, 180, 90 (minx, > miny, m

Re: [gdal-dev] Open source vector geoprocessing libraries?

2010-01-14 Thread Mateusz Loskot
Jan Hartmann wrote: On 13-1-2010 21:19, Mateusz Loskot wrote: IMHO, it's misunderstanding to consider OGR fully featured data model and I/O engine to read, write, process and analyse spatial vector data, especially if performance is a critical factor. IMHO, there are too many compromises in OGR

[gdal-dev] gdal_translate JPEG to GeoTiff (help! no one answered...)

2010-01-14 Thread Marco Afonso
Hi all, I'm new to gdal tools. I'm trying to transform a JPEG world image to GeoTiff. My jpeg world map image is cropped to fit on -180.0, -59.1, 180, 90 (minx, miny, maxx, maxy - EPSG:4326). Here are the steps: % gdal_translate -of GTiff -a_srs EPSG:4326 -co "TILED=YES" -co "JPEG_QUALITY=100"

Re: [gdal-dev] Open source vector geoprocessing libraries?

2010-01-14 Thread Jan Hartmann
On 13-1-2010 21:19, Mateusz Loskot wrote: IMHO, it's misunderstanding to consider OGR fully featured data model and I/O engine to read, write, process and analyse spatial vector data, especially if performance is a critical factor. IMHO, there are too many compromises in OGR. OK, that is