[postgis-users] Geometry appears empty
geoffi
geoff.innes at ngis.com.au
Tue Jul 1 20:28:40 PDT 2008
Hi Tim,
First of all I can confirm that the geometries are not null by:
a) select count(*) from <my_table> where geom is null;
This returns a count of 0.
b) the FME Universal Viewer successfully displays all the geometries
successfully. Features can be graphically selected and their attributes
interrogated.
The link you gave seems to imply that pgAdminIII may not be the tool to use
to verify geometry columns. It also mentions a possible limitation for the
number of verticies hitting a limit of 1365. I will need to check my
geometries if this is the same in my case.
In the meantime, I've also used the psql command line interface to check the
records with the same results as per the pgAdminIII. Can you recommend
another tool I can use to report the geometry data?
As mentioned in the original post, my final step is to publish a WMS via
GeoServer. Only those geometries that "appear" to be populated come through
in the WMS. While this may be a GeoServer issue, it is still reporting the
same information that "appears" in PostGIS.
Any other thoughts?
Tim Bowden wrote:
>
> Geoff,
>
> This earlier thread may be of interest:
> http://postgis.refractions.net/pipermail/postgis-users/2008-March/018814.html
>
> It deals with limitations of pgadmin and postgis.
>
> If the geometries really are null, are you also able to try loading the
> data with ogr2ogr to see if you get the same result? Are you sure you
> don't have any invalid geometries? I don't know how FME handles these.
>
> HTH,
> Tim Bowden
> On Tue, 2008-07-01 at 17:12 -0700, geoffi wrote:
>> I have translated some polygon data into a PostGIS table using FME. The
>> translation was successful with no errors reported. All the records
>> appear
>> in the PostGIS table (using the pgAdminIII application) except for about
>> 90%
>> of the geometries (see image below).
>>
>> http://www.nabble.com/file/p18227858/table.jpg
>>
>> However, using the FME Universal Viewer all records are displayed with
>> their
>> correct geometry as I would expect.
>>
>> What is causing the Geometry column in the table to appear empty?
>> Is there a setting in PostGIS to force the data to be visible in the
>> pgAdminIII application?
>>
>> Attempts to generate a WMS from this table using GeoServer only displays
>> those records that appear to have geometry.
>>
>> Performing a similar exercise using point geometries, there was no
>> problem.
>>
> --
> vim is a good example of an IDE done properly. emacs is an example of
> an IDE done poorly. Anything that involves little pictures is a
> mis-umderstanding of what an IDE should be.
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
--
View this message in context: http://www.nabble.com/Geometry-appears-empty-tp18227858p18229596.html
Sent from the PostGIS - User mailing list archive at Nabble.com.
More information about the postgis-users
mailing list