auto created geometry column

2 messages Options
Embed this post
Permalink
冉兵

auto created geometry column

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi
 
I'm using postgis and found out that geometry columns auto-created by hibernate does not carry meta information, which would defeat some applications that requires the meta data for projection.
 
How to work around this issue?
 
I'm using hibernate annotation.
 
Thanks
 
Bing
 

_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
Karel Maesen

Re: auto created geometry column

Reply Threaded More More options
Print post
Permalink

This feature has been requested before (See http://
www.hibernatespatial.org/jira/browse/HIBSPA-4) and is currently  
scheduled for the next release.

In the mean time the easiest way is to run a simple script to create  
the required metadata (or have the application create it). I  
personally haven't come across a situation where Postgis complains  
about the lack of metadata (unlike with Oracle Spatial). Postgis  
reprojection seems to require the individual geometries to have a  
known SRID value but does not require any further metadata. If you  
run into problems because of the lack of metadata, let me know.

Regards,

Karel


On 07 Jan 2009, at 07:40, Bing Ran wrote:

> Hi
>
> I'm using postgis and found out that geometry columns auto-created  
> by hibernate does not carry meta information, which would defeat  
> some applications that requires the meta data for projection.
>
> How to work around this issue?
>
> I'm using hibernate annotation.
>
> Thanks
>
> Bing
>
> _______________________________________________
> hibernatespatial-users mailing list
> [hidden email]
> http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/ 
> hibernatespatial-users

_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users