Re: [JPP-Devel] AssertionFailedException when adding a PostGIS Layer

2009-04-01 Thread Nacho Uve
Thanks Jukka, It works! 2009/3/31 Rahkonen Jukka > Hi, > > You need to query the geometry column as binary, like > > select asbinary(geom), attr from my_table > > -Jukka- > > Nacho Uve wrote: > > I've tried with 'Run database query' and now the exception is parsing WKB > types [1]. But again wi

Re: [JPP-Devel] AssertionFailedException when adding a PostGIS Layer

2009-03-31 Thread Rahkonen Jukka
Hi, You need to query the geometry column as binary, like select asbinary(geom), attr from my_table -Jukka- Nacho Uve wrote: I've tried with 'Run database query' and now the exception is parsing WKB types [1]. But again with all my postgis layers (polygons and linestrings). Nacho. [1] com.vi

Re: [JPP-Devel] AssertionFailedException when adding a PostGIS Layer

2009-03-31 Thread Nacho Uve
I've tried with 'Run database query' and now the exception is parsing WKB types [1]. But again with all my postgis layers (polygons and linestrings). Nacho. [1] com.vividsolutions.jts.io.ParseException: Unknown WKB type 48 at com.vividsolutions.jts.io.WKBReader.readGeometry(WKBReader.java:183

Re: [JPP-Devel] AssertionFailedException when adding a PostGIS Layer

2009-03-31 Thread Larry Becker
I don't know what everyone else has found, but I have concluded that the DataStore code is fundamentally flawed. Perhaps we should remove it from the menu. Larry On Tue, Mar 31, 2009 at 11:01 AM, Rahkonen Jukka wrote: > Hi, > > I get the same error. However, database query in the Layer menu wo

Re: [JPP-Devel] AssertionFailedException when adding a PostGIS Layer

2009-03-31 Thread Rahkonen Jukka
Hi, I get the same error. However, database query in the Layer menu works with the same connection and PostGIS table. -Jukka- Nacho Uve wrote: Yes, the same error with all layers on my localhost postgis and at in the office server. :( 2009/3/31 Sunburned Surveyor > Nacho, > > Do you get

Re: [JPP-Devel] AssertionFailedException when adding a PostGIS Layer

2009-03-31 Thread Nacho Uve
Yes, the same error with all layers on my localhost postgis and at in the office server. :( 2009/3/31 Sunburned Surveyor > Nacho, > > Do you get the same error when you load a different layer from PostGIS? > > The Sunburned Surveyor > > On Tue, Mar 31, 2009 at 6:59 AM, Nacho Uve wrote: > > He

Re: [JPP-Devel] AssertionFailedException when adding a PostGIS Layer

2009-03-31 Thread Sunburned Surveyor
Nacho, Do you get the same error when you load a different layer from PostGIS? The Sunburned Surveyor On Tue, Mar 31, 2009 at 6:59 AM, Nacho Uve wrote: > Hello, > > I'm running the nightly build of OJ and I got the exception [1] when I try > to load the layer "tramos2" of my localhost postgis.

[JPP-Devel] AssertionFailedException when adding a PostGIS Layer

2009-03-31 Thread Nacho Uve
Hello, I'm running the nightly build of OJ and I got the exception [1] when I try to load the layer "tramos2" of my localhost postgis. Best regards, Nacho [1] com.vividsolutions.jts.util.AssertionFailedException: If this event is being fired because you are constructing a Layer, cat will be null