[gdal-dev] Warning 6: Driver GTiff does not support D creation option ....

2010-06-01 Thread Jan Tappenbeck
HI ! i try to merge two image with the following command: gdal_merge -v -o D:\CAD\Schulungen\GDAL\\test.tif -of GTIFF -co --optfile D:\CAD\Schulungen\GDAL\\filelist.txt but there only will be one image convert into a ~250 gb file with this message: d:\cad\FWTools2.4.6>gdal_merge -v

Re: [gdal-dev] S-57 Driver WRONG Geometry

2010-06-01 Thread ogr user
If we assume that each S57 object corresponds to a real world entity - in my opinion the best encoding would be a separate line object. I.e. the main road is a point to point entity (as LineString supports) and the spur from the east (such as the one from Ljubicevac) is a separate line. That would

Re: [gdal-dev] S57 questions

2010-06-01 Thread ogr user
Done, http://trac.osgeo.org/gdal/ticket/3610 Frank Warmerdam wrote: > Mike, > > This would indeed be a useful change. I'd encourage you to file it in > Trac > and I'll look at incorporating it. > > Best regards, ___ gdal-dev mailing list gdal-dev@lists.

[gdal-dev] RE: [postgis-devel] Compiling PostGIS + GDAL + WKT Raster in Windows with MinGW

2010-06-01 Thread Pierre Racine
Try with GDAL 1.7.1 instead... this is the I could compile with (--without-libtool). >-Original Message- >From: postgis-devel-boun...@postgis.refractions.net [mailto:postgis-devel- >boun...@postgis.refractions.net] On Behalf Of Jorge Arévalo >Sent: 31 mai 2010 07:42 >To: gdal-dev@lists.os

[gdal-dev] Re: Warning 6: Driver GTiff does not support D creation option ....

2010-06-01 Thread Jukka Rahkonen
Jan Tappenbeck widemann.de> writes: > > HI ! > > i try to merge two image with the following command: > > gdal_merge -v -o D:\CAD\Schulungen\GDAL\\test.tif -of GTIFF -co > --optfile D:\CAD\Schulungen\GDAL\\filelist.txt > > but there only will be one image convert into a ~250 gb file

[gdal-dev] Re: Which ONE image in a .vrt is currently being displayed?

2010-06-01 Thread Jukka Rahkonen
Greg Coats mac.com> writes: > > With GDAL 1.7.2, released 2010/04/23, I used gdalbuildvrt to build a .vrt file that points to 726 > GeoJPEG2000 images. Then, I use QGIS 1.5.0, release 13519M to pan and zoom through these images. When > zoomed in, how do I get Qgis to identify which ONE of the ra

[gdal-dev] Re: Different image with WMS vs tiled WMS

2010-06-01 Thread Eduardo Ramalho
Hi! Found the answer to the problem described in the original email ! The XML file configuration of gdal_translate was wrong. The bounding box coordinates had to be adapted for a tile base request (TMS). I had to expand the rigth border to take in account the tile pixel size and the scale factor

[gdal-dev] Pretty Much Off Topic: Development IDEs

2010-06-01 Thread Zoltan Szecsei
Cross posted with gdal-dev and ossim-developer Hi Everyone, Please indulge me in this slightly off topic question. As I have spent the last many years of my GIS life programming in a (linux BASH-like) scripting language, I am somewhat out of date with Linux development environments. I last prog

[gdal-dev] GeoJSON2SHP and SHP2GeoJSON Java library

2010-06-01 Thread Lopes, Jose
Hi, I am searching for a pure Java library to convert GeoJSON objects into ESRI Shapefiles and vice-versa, preferably open source... Up to the moment I found only ogr2ogr with Java binding and the ArcGIS tools to do this task. But I think somebody out there should have made this before w

[gdal-dev] Convert shp to gml file

2010-06-01 Thread jim hopper
I used the following to do the conversion: ogr2ogr -f GML test.gml test.shp I got a file test.gml and test.xsd which appear to have the polygons and geometry in them. When I try to look at it with ogrinfo I get ERROR 1: Unable to create Xerces C++ based GML reader, Xerces support not configured

Re: [gdal-dev] GeoJSON2SHP and SHP2GeoJSON Java library

2010-06-01 Thread Frank Warmerdam
Lopes, Jose wrote: Hi, I am searching for a pure Java library to convert GeoJSON objects into ESRI Shapefiles and vice-versa, preferably open source… Up to the moment I found only ogr2ogr with Java binding and the ArcGIS tools to do this task. But I think somebody out there shoul

Re: [gdal-dev] Convert shp to gml file

2010-06-01 Thread Frank Warmerdam
jim hopper wrote: I used the following to do the conversion: ogr2ogr -f GML test.gml test.shp I got a file test.gml and test.xsd which appear to have the polygons and geometry in them. When I try to look at it with ogrinfo I get ERROR 1: Unable to create Xerces C++ based GML reader, Xerces su

Re: [gdal-dev] Convert shp to gml file

2010-06-01 Thread jim hopper
I will rebuild. Thanks! Jim On 6/1/10 4:07 PM, "Frank Warmerdam" wrote: > jim hopper wrote: >> I used the following to do the conversion: >> >> ogr2ogr -f GML test.gml test.shp >> >> I got a file test.gml and test.xsd which appear to have the polygons and >> geometry in them. When I try t

[gdal-dev] difference between -a_nodata and -dstnodata?

2010-06-01 Thread Matt Wilkie
Dear GDAL, What is the difference between gdal_translate's "assign nodata" and gdalwarp's "destination nodata"? thanks! -- matt wilkie Geomatics Analyst Information Management and Technology Yukon Department of Environment 10 Burns Road * Whitehor

Re: [gdal-dev] difference between -a_nodata and -dstnodata?

2010-06-01 Thread Kyle Shannon
I believe -a_nodata in gdal_translate sets the no data value as in GDALRasterBand::SetNoDataValue(). -dstnodata in gdalwarp initializes the bands with the supplied value, but doesn't call GDALRasterBand::SetNoDataValue(). I think. kss # Kyle Shannon Physical Science

Re: [gdal-dev] Pretty Much Off Topic: Development IDEs

2010-06-01 Thread Christopher Barker
Zoltan Szecsei wrote: Please indulge me in this slightly off topic question. If you'll indulge me with my proselytizing! I want to migrate my Linux based GIS workflows onto OpenSource projects, using a mix of gdal/proj4/ossim and maybe GRASS - as the need and mood grabs me. I have just loa

Re: [gdal-dev] Convert shp to gml file

2010-06-01 Thread jim hopper
Ok, I got gdal rebuilt with xercesc support, and I can read it with ogrinfo. But it says: Had to open data source read-only. INFO: Open of `test.gml' using driver `GML' successful. Layer name: ford_plant_2d_bldgs Geometry: Unknown (any) But the original shape file does have geometry: INFO

[gdal-dev] modified TSX driver

2010-06-01 Thread Shawn GONG
Hi Frank and list, I reopened Ticket #3564 to submit a modified TSX driver. Changes made by Adam Klein in: • Open() will return NULL when one of the raster bands cannot be loaded. This fix prevents a crash (dereferencing NULL pointer). • The driver no longer saves the image file pointer (it wa

Re: [gdal-dev] Pretty Much Off Topic: Development IDEs

2010-06-01 Thread christian . mueller
Hi, I am also a fan of working in the command line. (vi is one of my friends) I use eclipse which is very powerful. Most of the time I am doing Java, but I also used eclipse for programming python and there is support for C++/C too. Java / python really makes your life easier. The only reas

[gdal-dev] satellite photo height data

2010-06-01 Thread 甘肃。思远
I want to get(download) the satellite photo height data(maybe .img or dem,I think) of the two following areas,who help me? 1. Latitude : 44.750373989-44.879927098 Longitude: 86.797943335--86.932148806 2. Latitude 41d38'34''N --41d50'12''N Longitude 81

Re: [gdal-dev] satellite photo height data

2010-06-01 Thread Chaitanya kumar CH
weixj2003ld, First you have to locate the corner pixels corresponding to the lat/longs you indicated. Go through (http://www.gdal.org/ogr/osr_tutorial.html) to do that. Use "WGS84" system for lat/longs. Use GDALRasterIO() (http://www.gdal.org/gdal_tutorial.html) to retrieve the pixels from the re

Re: [gdal-dev] Convert shp to gml file

2010-06-01 Thread Chaitanya kumar CH
Jim, GML driver doesn't support reporting of the geometry type for the layer. However, you will get the right geometry when you ask for the geometry itself. Try "ogrinfo -al test.gml" and check the reported geometries. On Wed, Jun 2, 2010 at 4:33 AM, jim hopper wrote: > Ok, I got gdal rebuilt w