Re: [gdal-dev] Polygonizer / Lines

2013-03-14 Thread Chaitanya kumar CH
Alisson, You can refer to the method's documentation here: http://www.gdal.org/ogr/classOGRGeometry.html#a674319670e735bf6d4049300096157ec The mechanism of this operation was already explained Peter Halls in this mailing list[1]. GEOS does a good job identifying line strings touching at end point

[gdal-dev] Cannot write jpeg2000 with ERDAS 4.3

2013-03-14 Thread ngarel
Hi, I created this ticket but maybe I should have asked the question first here. We upgraded the ERDAS library from 4.2 to 4.3 and the gdal_translate fails to open the output file in GDALECWCompressor::Initialize() function, at oError = CNCSJP2FileView::

Re: [gdal-dev] Polygonizer / Lines

2013-03-14 Thread Alisson Barbosa
Can you explain a bit better? 2013/3/14 Chaitanya kumar CH > Allison, > > Check out OGRGeometry::Polygonize() > > The result depends on the type of intersections in your lines. > > -- > Best regards, > Chaitanya Kumar CH > On 14 Mar 2013 21:53, "Alisson Barbosa" wrote: > >> Hi friends, >> >> I

Re: [gdal-dev] Is GDALFPolygonize thread safe ?

2013-03-14 Thread Jeff Lacoste
Thanks again Frank. May be some one else knows more about the MapInfo OGR driver would comment on its thread safety ? Jeff On Thu, Mar 14, 2013 at 12:00 PM, Frank Warmerdam wrote: > On Thu, Mar 14, 2013 at 8:56 AM, Jeff Lacoste > wrote: > > Great. Thanks Frank. > > > > Yes I'm writing to dist

Re: [gdal-dev] Polygonizer / Lines

2013-03-14 Thread Chaitanya kumar CH
Allison, Check out OGRGeometry::Polygonize() The result depends on the type of intersections in your lines. -- Best regards, Chaitanya Kumar CH On 14 Mar 2013 21:53, "Alisson Barbosa" wrote: > Hi friends, > > I have a set of OGRLineStrings and an OGRLinearRing with many > intersections. I woul

Re: [gdal-dev] Postgis Raster out-db support

2013-03-14 Thread Mateusz Loskot
On 14 March 2013 17:11, ryagz wrote: > > Is the current trunk of GDAL supports loading out-db raster data from > postgis? > > If no, is there any specific timeline for that? FYI, there is significant work planned in PostGIS Raster, which will affect out-db support: http://trac.osgeo.org/postgis/

[gdal-dev] Postgis Raster out-db support

2013-03-14 Thread ryagz
Hi, Is the current trunk of GDAL supports loading out-db raster data from postgis? If no, is there any specific timeline for that? Thanks, Ryagz -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Postgis-Raster-out-db-support-tp5040436.html Sent from the GDAL - Dev mailing

[gdal-dev] Polygonizer / Lines

2013-03-14 Thread Alisson Barbosa
Hi friends, I have a set of OGRLineStrings and an OGRLinearRing with many intersections. I would like to polygonize this set of lines. Can anybody help me? Best regards, -- Alisson Barbosa Systems Analyst - FUNCEME M.Sc. in Computer Science - MACC Graduate in Computer Science - UECE ___

Re: [gdal-dev] Is GDALFPolygonize thread safe ?

2013-03-14 Thread Frank Warmerdam
On Thu, Mar 14, 2013 at 8:56 AM, Jeff Lacoste wrote: > Great. Thanks Frank. > > Yes I'm writing to distinct output OGR. > > For GDAL drivers you mean that some of them might not be thread safe ? and > hence may not be used safely from multiple threads > even for read access ? Jeff, There are a l

Re: [gdal-dev] Is GDALFPolygonize thread safe ?

2013-03-14 Thread Jeff Lacoste
Great. Thanks Frank. Yes I'm writing to distinct output OGR. For GDAL drivers you mean that some of them might not be thread safe ? and hence may not be used safely from multiple threads even for read access ? Is MapInfo OGR driver thread safe as long as i'm writing one distinct .tab from one di

Re: [gdal-dev] Difficulties reading a ODIM HDF5 file

2013-03-14 Thread Frank Warmerdam
Sjur, Could you file a ticket on the metadata and projection issues, and attach or point to the dataset? I think these regressions deserve a careful review and I don't want to lose the issue in ephemeral email. Best regards, Frank On Thu, Mar 14, 2013 at 5:48 AM, Sjur Kolberg wrote: > > Hello

Re: [gdal-dev] Is GDALFPolygonize thread safe ?

2013-03-14 Thread Frank Warmerdam
Jeff, I reviewed the polygonize code and I don't see any multi-threading issues in it on quick inspection. The algorithm does read from GDAL and write to OGR so it would also be sensitive to issues with particular drivers. The main GDAL drivers (ie. GeoTIFF, MEM) should be fine. For writing OGR

Re: [gdal-dev] Is GDALFPolygonize thread safe ?

2013-03-14 Thread Jeff Lacoste
Thanks Jeff. Being not familiar with python, i'm not sure if it start a new process each time or not and hence it would be hiding any non thread safety issues. I would like to use the API function 'GDALFPolygonize' directly from within one process (.exe). Jeff On Thu, Mar 14, 2013 at 9:11 AM,

Re: [gdal-dev] Is GDALFPolygonize thread safe ?

2013-03-14 Thread Jeff Lake
I use GDALPolygonize.py to convert 8 in a row and have no problems - -Jeff Lake K8JSL MichiganWxSystem.com AllisonHouse.com TheWeatherCenter.net GRLevelXStuff.com On 3/14/2013 8:46, Jeff Lacoste wrote: Hi, 'GDALFPolygonize' create polygons fr

Re: [gdal-dev] Berkeley DB OGR "driver"

2013-03-14 Thread Jeff McKenna
On 2013-03-14 10:03 AM, Ivan Lucena wrote: > Hi Jeff, > > Yes, once we figure out how to deal with the driver name issue I will > write instruction to the GDAL Wiki. > > But I am curious. How do use BDB on MapServer/MapCache? Do you use the > SQLITE API or goes directly to the DBD API? > > How d

Re: [gdal-dev] Difficulties reading a ODIM HDF5 file

2013-03-14 Thread Sjur Kolberg
Hello again! Thanks for your help. I downloaded the pre-built GDAL binaries from Tamas Szekeres' www.gisinternals.com and managed to read the HDF5 file. Almost. And actually better with GDAL 1.7.3 than with GDAL 1.9.2, both downloaded prebuilt from www.gisinternals.com. 1.7.3 can read the pro

[gdal-dev] Is GDALFPolygonize thread safe ?

2013-03-14 Thread Jeff Lacoste
Hi, 'GDALFPolygonize' create polygons from a raster band into a vector file. Can this function called from multiple threads safely ? For ex. I have 10 raster files and would like to fire 10 threads. Every thread opens a raster and call GDALFPolygonize to generate a vector file in MapInfo format.

Re: [gdal-dev] Mapinfo --> postgis db using ogr2ogr, failing to overwrite

2013-03-14 Thread Even Rouault
Selon Pete : > Hi, Sorry to revive this post but I'm a non GIS type and have a similar > issue. > > I'm trying to upload a mapinfo layer using WinSCP and Ogr2Ogr to work it's > magic to put it into the GeoStore, this via GeoServer ensures our Openlayers > map is up-to-date. > > The trouble is that

Re: [gdal-dev] Mapinfo --> postgis db using ogr2ogr, failing to overwrite

2013-03-14 Thread Pete
Hi, Sorry to revive this post but I'm a non GIS type and have a similar issue. I'm trying to upload a mapinfo layer using WinSCP and Ogr2Ogr to work it's magic to put it into the GeoStore, this via GeoServer ensures our Openlayers map is up-to-date. The trouble is that I get the exact same error

Re: [gdal-dev] Finding if a source exists in particular block of a VRTRasterBand

2013-03-14 Thread Even Rouault
Le jeudi 14 mars 2013 05:18:17, ryagz a écrit : > Hi, > > I have created a VRTDataset and added multiple simple sources to its > rasterbands in a function of my application. In another function i have the > instance of this VRTDataset and its VRTRasterbands and, Now i would like to > find for a pa