Hi list,
I'm trying to feed my app with a geoJSON file generated by FME, which
then should be translated to postGIS by ogr. But the FME GeoJSON looks
suspicious, as it begins by :
{LIEU_Geocodes_new:{type:FeatureCollection
where LIEU_Geocodes_new is the name of the original MapInfo file
processed
I'm having the same problem. I tried another way according to one example I
found, which doesn't work either:
from osgeo import ogr, osr
# Get the geometry object
ds = ogr.Open(inFile.shp)
layer = ds.GetLayer()
feature = layer.GetNextFeature()
geom = feature.GetGeometryRef()
# Get the
- Original Message -
From: Johan Nouvel g...@archivideo.com
To: gdal-dev@lists.osgeo.org
Sent: Tuesday, February 03, 2009 12:00 PM
Subject: [gdal-dev] erosion/dilation in gdal ?
Hello all,
Is there a way to do erosion/dilatation on image in gdal ?
I've looked in alg.h, but I've
And finally, hello
Sorry for being annoying. I've found this ticket closed 2 years ago
http://trac.osgeo.org/gdal/ticket/1166.
I'll apply the patch, but I think that this should be added with the
FAQ. Saves time :-)
Best regards
Jorge
Jorge escribió:
Hello again,
I' ve found the problem, I
I can confirm that FME returns extra bits in GeoJSON output.
As I see, it isn't documented in FME Readers and Writers manual, so
little to say.
nice to hear i didn't screw it up !
Any of you would know why FME is returning such misformed geoJSON ?
I would suggest to ask your question
Johan Nouvel wrote:
Hello all,
Is there a way to do erosion/dilatation on image in gdal ?
I've looked in alg.h, but I've seen no straight way to do such thing.
Johan,
I am not aware of anything intended specifically for this. There is the
raster fill algorithm which can grow an image by a
Frank Warmerdam wrote:
Johan Nouvel wrote:
Hello all,
Is there a way to do erosion/dilatation on image in gdal ?
I've looked in alg.h, but I've seen no straight way to do such thing.
Johan,
As you very probably know those are operations of the image processing world.
If you don't know it
Dear list
I have a shapefile with the following projection, see below (using 'ogrinfo -al
Richmond_compartments_WGS84.shp')
I would like to perform a datum transformation from WGS84 to the Cape Datum
using the clark 1880 spheroid. Is this possible using ogr? I have tried using
ogr2ogr but
Johan Nouvel wrote:
Hello all,
Is there a way to do erosion/dilatation on image in gdal ?
I've looked in alg.h, but I've seen no straight way to do such thing.
Johan,
On the Python side there is the ndimage package that is included in scipy
(http://www.scipy.org/SciPyPackages/Ndimage)
Hello all,
Is there a way to do erosion/dilatation on image in gdal ?
I've looked in alg.h, but I've seen no straight way to do such thing.
Any idea ?
Regards,
Johan.
--
Johan Nouvel, RD Engineer
http://www.archivideo.com
tel : +33 (0)2 99 86 30 20
ARCHIVIDEO, 40 rue des Veyettes, 35000
Jorge,
I think I was the original poster of the trac snippet, which worked
for me on mac os.
Great job researching, and yes, please update the snippet as needed.
Thanks!
Dane
On Feb 3, 2009, at 3:53 AM, Jorge wrote:
And finally, hello
Sorry for being annoying. I've found this ticket
11 matches
Mail list logo