Re: [gdal-dev] ogrinfo don't understand spatialiute multigeometry

2012-08-05 Thread Jukka Rahkonen
Andrea Peri aperi2007 at gmail.com writes:

 But when I try this other call:
 ogrinfo test.sqlite prova
 it return:

 INFO: Open of `test.sqlite'
   using driver `SQLite' successful.
 FAILURE: Couldn't fetch requested layer prova!
 I'm not sure if this is the same problem I see with GetFeatureInfo 
of MapServer.

Hi,

But Even wrote it should behave in the same way thatn PostGIS with multiple
geometries. Try
ogrinfo test.sqlite prova(GEOMETRY) and 
ogrinfo test.sqlite prova(BBOX)

-Jukka-


___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


[gdal-dev] urn and geojson

2012-08-05 Thread Thomas Gratier
Hello,

I'm playing around with geojson and I haven't found any clue on the doc e.g
http://www.gdal.org/ogr/drv_geojson.html about including urn in geojson
output.
I think it can be useful for sharing geojson and without urn, finding
projection isn't really possible.
Does I miss the feature? There is a roadmap about this?
The form I 'm expecting look like urn:ogc:def:crs:EPSG::26912 (following
this discussion
http://gis.stackexchange.com/questions/15953/whats-up-with-the-geojson-spec-and-crs-as-a-irmand
the official spec
http://www.geojson.org/geojson-spec.html#named-crs)http://www.geojson.org/geojson-spec.html#named-crs

Regards

ThomasG
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] ogrinfo don't understand spatialiute multigeometry

2012-08-05 Thread Andrea Peri
Hi Jukka,

you have right

ogrinfo test.sqlite prova(GEOMETRY)

work without problem.

Now just remain only the question of GetFeatureInfo request on MapServer
It seem don't work on my test.

Thx,

-- 
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Capture stderr in interactive Python shell

2012-08-05 Thread Mike Toews
I would like to capture or show GDAL error messages in an interactive
Python shell. For instance, if trying to open an non-existing raster:

from osgeo import gdal
ds = gdal.Open('noexist.tif')

shows nothing in an interactive shell (PythonWin, IDLE), but shows
messages when used in a shell (cmd.exe or Bash):

ERROR 4: `noexist.tif' does not exist in the file system, and is not
recognised as a supported dataset name.

It appears this output is sent to stderr. How can this output also
appear in an interactive Python shell, such as PythonWin or IDLE?

Thanks,
-Mike
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] Capture stderr in interactive Python shell

2012-08-05 Thread Jay L.
try this:

from osgeo import gdal
gdal.UseExceptions()
gdal.Open('noexist.tif')

This is from: http://trac.osgeo.org/gdal/wiki/PythonGotchas


On Sun, Aug 5, 2012 at 5:41 PM, Mike Toews mwto...@gmail.com wrote:

 I would like to capture or show GDAL error messages in an interactive
 Python shell. For instance, if trying to open an non-existing raster:

 from osgeo import gdal
 ds = gdal.Open('noexist.tif')

 shows nothing in an interactive shell (PythonWin, IDLE), but shows
 messages when used in a shell (cmd.exe or Bash):

 ERROR 4: `noexist.tif' does not exist in the file system, and is not
 recognised as a supported dataset name.

 It appears this output is sent to stderr. How can this output also
 appear in an interactive Python shell, such as PythonWin or IDLE?

 Thanks,
 -Mike
 ___
 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

[gdal-dev] Windows 32 bit GDAL

2012-08-05 Thread Billy Newman
Anyone know where I can get windows 32 bit GDAL libs pre-compiled with Java
bindings?

Thanks,
Billy
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Windows 32 bit GDAL

2012-08-05 Thread Chaitanya kumar CH
http://trac.osgeo.org/osgeo4w/

On Mon, Aug 6, 2012 at 8:17 AM, Billy Newman newman...@gmail.com wrote:

 Anyone know where I can get windows 32 bit GDAL libs pre-compiled with
 Java bindings?

 Thanks,
 Billy

 ___
 gdal-dev mailing list
 gdal-dev@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/gdal-dev




-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev