[postgis-users] RE: PostGIS WKT Raster

2008-07-10 Thread Obe, Regina
>I prepared a PowerPoint presentation with a complete specification of >raster in PostGIS and an analysis of what should be the result of >overlay operation between raster and vector layers. You can download >this PPT at: http://www.cef-cfr.ca/uploads/Membres/WKTRasterPostGIS.ppt >Please have a lo

[postgis-users] Finding polygones with 'holes' inside

2008-07-10 Thread Stephan Holl
Hi, I like to accomplish the task of finding polygons with holes inside (the table is a MULTIPOLYGON). I tried to use ST_nrings, but I am not sure it this always only finds polygons with wholes inside or also islands, which should be also rings by definition. So a SELECT gid, name FROM table W

RE: [postgis-users] Finding polygones with 'holes' inside

2008-07-10 Thread Obe, Regina
Stephan, Well since you have a multipolygon, I think you have to do something like this SELECT gid, name FROM (SELECT gid, name, (ST_Dump(the_geom)).geom As the_geom FROM table ) As thetable WHERE ST_NumInteriorRings(the_geom) > 0; I would have suggested just running ST_NumInteriorRings instead

[postgis-users] OGR2OGR srid being ignored

2008-07-10 Thread Sufficool, Stanley
I import / synchronize data from ARC/INFO coverage files frequently. I use the following command to pull in the data for our intranet mapping server, but it does not seem to honor the SRID arguments and places all geometries with SRID = 32767. I have tried every combination of -*_srs args to no av

[postgis-users] RE: PostGIS WKT Raster

2008-07-10 Thread Pierre Racine
Thanks for your comments Regina, >if you look at Dane's posed problem in >previous postgis post, it is a common scenario where I have really >wanted RASTER in the database and where your proposed >ST_Intersection(RASTER, VECTOR), ST_Interects(RASTER,VECTOR) would have >worked nicely (e.g. steps f

Re: [postgis-users] OGR2OGR srid being ignored

2008-07-10 Thread Frank Warmerdam
Sufficool, Stanley wrote: I import / synchronize data from ARC/INFO coverage files frequently. I use the following command to pull in the data for our intranet mapping server, but it does not seem to honor the SRID arguments and places all geometries with SRID = 32767. I have tried every combin

Re: [postgis-users] Splitting/merging linework into equal interval linestrings

2008-07-10 Thread Dane Springmeyer
Regina and Brent: Wow. Thanks so much for the pointers. I've now got a single query that is working excellently so far. Without indexes it runs on the entire dataset in about 5 minutes when splitting lines to ~ 150 m, which is just fine. I was able to use the ST_Reverse function to make su

Re: [postgis-users] OGR2OGR srid being ignored

2008-07-10 Thread Maciej Sieczka
Sufficool, Stanley pisze: I import / synchronize data from ARC/INFO coverage files frequently. I use the following command to pull in the data for our intranet mapping server, but it does not seem to honor the SRID arguments and places all geometries with SRID = 32767. I have tried every comb

[postgis-users] PgRouting 1.02 for PostgreSQL 8.3 + little tutorial

2008-07-10 Thread Jean David TECHER
Hi TSP is now available on win32 for PostgreSQL 8.3.3 with PostGIS 1.3.3 Link is http://www.davidgis.fr/download/pgRouting-1.02_pg-8.3.3.zip I've made a little tutorial for A* and shooting available on my web site at http://www.davidgis.fr/documentation/pgrouting-1.02/ A tutorial for tsp and

RE: [postgis-users] OGR2OGR srid being ignored

2008-07-10 Thread Sufficool, Stanley
Per OGR2OGR docs: ... or a well known definition (ie. EPSG:4326) Per http://spatialreference.org/ref/epsg/?search=NAD83 EPSG:2229: NAD83 / California zone 5 (ftUS) I'm assuming that the fix to GDAL that was previously posted allows this notation now. > -Original M