hibernate-spatial.cfg.xml

3 messages Options
Embed this post
Permalink
wxFlatt

hibernate-spatial.cfg.xml

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

I am using the M2 version of Hibernate Spatial with a postGIS enabled postgreSQL database.

 

Where can I find information on how to use/configure the hibernate-spatial.cfg.xml file?

Thx,

Prf

 

Paul Flatt

Warning Coordination Meteorologist

National Weather Service

3833 S. Development Ave.

Boise, Idaho 83705

 

(208) 334-9861 x223

 

********  weather.gov/boise ********

 


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

Re: hibernate-spatial.cfg.xml

Reply Threaded More More options
Print post
Permalink
Hi,

It's not yet documented. Currently the only supported tags are the  
ones in the example below.


<hibernate-spatial>
         
<default_dialect>org.hibernatespatial.postgis.PostgisDialect</
default_dialect>
         <precision_model>FIXED</precision_model>
         <precision_model_scale>5</precision_model_scale>
</hibernate-spatial>

Default-dialect instructs HS to use the specified dialect; the other  
two determine the JTS PrecisionModel to use when creating JTS  
geometries from the database. See the JTS Javadoc for more information.

Hope this helps.

Regards,

Karel Maesen


On 10 Nov 2008, at 23:20, Paul Flatt wrote:

> I am using the M2 version of Hibernate Spatial with a postGIS  
> enabled postgreSQL database.
>
>
>
> Where can I find information on how to use/configure the hibernate-
> spatial.cfg.xml file?
>
> Thx,
>
> Prf
>
>
>
> Paul Flatt
>
> Warning Coordination Meteorologist
>
> National Weather Service
>
> 3833 S. Development Ave.
>
> Boise, Idaho 83705
>
>
>
> (208) 334-9861 x223
>
>
>
> ********  weather.gov/boise ********
>
>
>
> _______________________________________________
> 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
wxFlatt

Re: hibernate-spatial.cfg.xml

Reply Threaded More More options
Print post
Permalink
Excellent, thank you.
I am fairly new to java so I am learning a whole bunch at once. Hibernate
Spatial is just what we need and so far is working really good.

Thx for your great work and quick reply.
Prf

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf
Of Karel Maesen
Sent: Thursday, November 13, 2008 4:21 AM
To: [hidden email]; Hibernate Spatial Users Discussion
Subject: Re: [hibernatespatial-users] hibernate-spatial.cfg.xml

Hi,

It's not yet documented. Currently the only supported tags are the  
ones in the example below.


<hibernate-spatial>
         
<default_dialect>org.hibernatespatial.postgis.PostgisDialect</
default_dialect>
         <precision_model>FIXED</precision_model>
         <precision_model_scale>5</precision_model_scale>
</hibernate-spatial>

Default-dialect instructs HS to use the specified dialect; the other  
two determine the JTS PrecisionModel to use when creating JTS  
geometries from the database. See the JTS Javadoc for more information.

Hope this helps.

Regards,

Karel Maesen


On 10 Nov 2008, at 23:20, Paul Flatt wrote:

> I am using the M2 version of Hibernate Spatial with a postGIS  
> enabled postgreSQL database.
>
>
>
> Where can I find information on how to use/configure the hibernate-
> spatial.cfg.xml file?
>
> Thx,
>
> Prf
>
>
>
> Paul Flatt
>
> Warning Coordination Meteorologist
>
> National Weather Service
>
> 3833 S. Development Ave.
>
> Boise, Idaho 83705
>
>
>
> (208) 334-9861 x223
>
>
>
> ********  weather.gov/boise ********
>
>
>
> _______________________________________________
> 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-us
ers

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