I wonder how this URL is mapped to the WMS driver by default.
For a valid WMS connection string please refer to:
http://www.gdal.org/frmt_wms.html
This URL is reported by gdalinfo as:
gdalinfo http://openaerialmap.org/static/ww.xml
ERROR 4: `/vsimem/http/02802DC8.dat' not recognised as a supported file
format.
ERROR 4: `/tmp/02802DC8.dat' not recognised as a supported file format.
gdalinfo failed - unable to open 'http://openaerialmap.org/static/ww.xml'.
Best regards,
Tamas
2009/1/26 Marcelo Oliveira molive...@geostats.com
Tamas,
Here is how I specified the source when opening the dataset:
String filename = http://openaerialmap.org/static/ww.xml;;
Gdal.AllRegister();
Dataset dataSet = Gdal.OpenShared(fileName, 0);
Thanks, M
--
Marcelo Simas Oliveira
GeoStats LP
530 Means St., Ste. 310
Atlanta, Georgia 30318
(404) 588-1004
www.geostats.com
*From:* Tamas Szekeres [mailto:szeker...@gmail.com]
*Sent:* Monday, January 26, 2009 10:36 AM
*To:* Marcelo Oliveira
*Cc:* gdal-dev@lists.osgeo.org
*Subject:* Re: [gdal-dev] Open Aerial Map Access via C#
I just wanted to know how did you specify the GDAL_WMS service
description XML when opening the dataset. Because the error you mentioned
sounds like you have an invalid Projection tag in this file.
Best regards,
Tamas
2009/1/26 Marcelo Oliveira molive...@geostats.com
Here is what the URL returns:
LayerSet Name=OAM ShowAtStartup=true ShowOnlyOneLayers=false
-
ChildLayerSet Name=openaerialmap ShowAtStartup=false
ShowOnlyOneLayer=true
-
QuadTileSet ShowAtStartup=true
Nameopenaerialmap/Name
DescriptionOpenAerialMap data./Description
DistanceAboveSurface0/DistanceAboveSurface
-
BoundingBox
-
West
Value-180.0/Value
/West
-
South
Value-90.0/Value
/South
-
East
Value180.0/Value
/East
-
North
Value90.0/Value
/North
/BoundingBox
TerrainMappedfalse/TerrainMapped
-
ImageAccessor
LevelZeroTileSizeDegrees180.0/LevelZeroTileSizeDegrees
NumberLevels20/NumberLevels
TextureSizePixels256/TextureSizePixels
ImageFileExtensionjpeg/ImageFileExtension
-
ImageTileService
ServerUrlhttp://tile.openaerialmap.org/tiles//ServerUrl
DataSetNameopenaerialmap/DataSetName
/ImageTileService
/ImageAccessor
-
ExtendedInformation
AbstractSRS:EPSG:4326/Abstract
/ExtendedInformation
/QuadTileSet
/ChildLayerSet
/LayerSet
--
Marcelo Simas Oliveira
GeoStats LP
530 Means St., Ste. 310
Atlanta, Georgia 30318
(404) 588-1004
www.geostats.com
*From:* Tamas Szekeres [mailto:szeker...@gmail.com]
*Sent:* Monday, January 26, 2009 10:24 AM
*To:* Marcelo Oliveira
*Cc:* gdal-dev@lists.osgeo.org
*Subject:* Re: [gdal-dev] Open Aerial Map Access via C#
Marcelo,
How is your GDAL_WMS.. service configuration looking like?
Best regards,
Tamas
2009/1/26 Marcelo Oliveira molive...@geostats.com
Hi There,
I am using the GDAL build that comes with FWTools2.2.6 (GDAL 1.6.0dev)
to try to open OAM (http://openaerialmap.org/static/ww.xml;) using the
C# bindings for GDAL and it throws the following exception:
GDALWMS: Bad projection specified.
The source code that causes the exception to be thrown is :
String filename = http://openaerialmap.org/static/ww.xml;;
Gdal.AllRegister();
Dataset dataSet = Gdal.OpenShared(fileName, 0);
However, I can open and extract pieces of this dataset using gdalinfo
and gdal_translate via the command line. Is this a know limitation of
the C# bindings or am I doing something wrong?
Thanks, M
--
Marcelo Simas Oliveira
GeoStats LP
530 Means St., Ste. 310
Atlanta, Georgia 30318
(404) 588-1004
www.geostats.com
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev