AW: [postgis-users] Postgis updates w/ JUMP driver.

"Weßling, Achim" Achim.Wessling at gt-net.de
Wed Feb 23 22:41:52 PST 2005


Hi,

I had the same problem. It looks like the driver uses allways -1 as SRID. I
fixed it, by hacking the source. I hardcoded the SRID I allways use. Not
perfect, but works for me ;-).

Greatings,
Achim

-----Ursprüngliche Nachricht-----
Von: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net]Im Auftrag von
Jason Leach
Gesendet am: Mittwoch, 23. Februar 2005 18:35
An: postgis-users at postgis.refractions.net
Betreff: [postgis-users] Postgis updates w/ JUMP driver.

hi,

I posted this question here since this questions is about the jump
driver, made by the same people who make postgis.

When updating a dataset via Jump I  get the error, "violates check
constraint 'enforce_srid_the_geom'.  If I write some beanshell code to
iterate through the features all the SRIDs are all set to 0.  So my
guess is the drivers code is not setting the SRID when it queries the
database (PostGIS).

Does anyone have comments on this?  I have the SRID set properly in
the DB, but perhaps I am missing something?  Works fine if I to a
query and to srid(the_geom).

Using Jump (1.1.2 and 1.1.1) and postgisdriver (1.1.0 or 1.2.0).

Thanks,
Jason.
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list