[postgis-users] jdbc install
Rueben Schulz
r_j_schulz at yahoo.ca
Wed Oct 9 18:03:17 PDT 2002
Make only compiles the files. You then need to issue the 'make jar'
command to make the postgis.jar file.
Rueben
On Wed, 2002-10-09 at 15:42, Manolo wrote:
> I try to install postgis 0.7.3 jdbc with postgresql 7.2.x, but after make command
> succeful. I cant find postgis.jar file. What happend ?
>
> results of make command are:
>
> javac -classpath /usr/local/pgsql/share/java/postgresql.jar:postgis.jar:. \
> org/postgis/Geometry.java \
> org/postgis/Point.java \
> org/postgis/MultiPoint.java \
> org/postgis/LineString.java \
> org/postgis/MultiLineString.java \
> org/postgis/LinearRing.java \
> org/postgis/Polygon.java \
> org/postgis/MultiPolygon.java
> javac -classpath /usr/local/pgsql/share/java/postgresql.jar:postgis.jar:. \
> org/postgis/PGgeometry.java \
> org/postgis/PGbox3d.java
> javac -classpath /usr/local/pgsql/share/java/postgresql.jar:postgis.jar:. exampl
> es/Test.java
> java -classpath /usr/local/pgsql/share/java/postgresql.jar:postgis.jar:. example
> s/Test
> LinearRing Test:
> (10 10 20,34 34 34, 23 19 23 , 10 10 11)
> (10.0 10.0 20.0,34.0 34.0 34.0,23.0 19.0 23.0,10.0 10.0 11.0)
> Point Test:
> POINT(10 10 20)
> POINT (10.0 10.0 20.0)
> LineString Test:
> LINESTRING (10 10 20,20 20 20, 50 50 50, 34 34 34)
> LINESTRING (10.0 10.0 20.0,20.0 20.0 20.0,50.0 50.0 50.0,34.0 34.0 34.0)
> Polygon Test:
> POLYGON ((10 10 0,20 10 0,20 20 0,20 10 0,10 10 0),(5 5 0,5 6 0,6 6 0,6 5 0,5 5
> 0))
> POLYGON ((10.0 10.0 0.0,20.0 10.0 0.0,20.0 20.0 0.0,20.0 10.0 0.0,10.0 10.0 0.0)
> ,(5.0 5.0 0.0,5.0 6.0 0.0,6.0 6.0 0.0,6.0 5.0 0.0,5.0 5.0 0.0))
> MultiPolygon Test:
> MULTIPOLYGON (((10 10 0,20 10 0,20 20 0,20 10 0,10 10 0),(5 5 0,5 6 0,6 6 0,6 5
> 0,5 5 0)),((10 10 0,20 10 0,20 20 0,20 10 0,10 10 0),(5 5 0,5 6 0,6 6 0,6 5 0,5
> 5 0)))
> MULTIPOLYGON (((10.0 10.0 0.0,20.0 10.0 0.0,20.0 20.0 0.0,20.0 10.0 0.0,10.0 10.
> 0 0.0),(5.0 5.0 0.0,5.0 6.0 0.0,6.0 6.0 0.0,6.0 5.0 0.0,5.0 5.0 0.0)),((10.0 10.
> 0 0.0,20.0 10.0 0.0,20.0 20.0 0.0,20.0 10.0 0.0,10.0 10.0 0.0),(5.0 5.0 0.0,5.0
> 6.0 0.0,6.0 6.0 0.0,6.0 5.0 0.0,5.0 5.0 0.0)))
> MultiLineString Test:
> MULTILINESTRING ((10 10 0,20 10 0,20 20 0,20 10 0,10 10 0),(5 5 0,5 6 0,6 6 0,6
> 5 0,5 5 0))
> MULTILINESTRING ((10.0 10.0 0.0,20.0 10.0 0.0,20.0 20.0 0.0,20.0 10.0 0.0,10.0 1
> 0.0 0.0),(5.0 5.0 0.0,5.0 6.0 0.0,6.0 6.0 0.0,6.0 5.0 0.0,5.0 5.0 0.0))
> PG Test:
> MULTILINESTRING ((10 10 0,20 10 0,20 20 0,20 10 0,10 10 0),(5 5 0,5 6 0,6 6 0,6
> 5 0,5 5 0))
> MULTILINESTRING ((10.0 10.0 0.0,20.0 10.0 0.0,20.0 20.0 0.0,20.0 10.0 0.0,10.0 1
> 0.0 0.0),(5.0 5.0 0.0,5.0 6.0 0.0,6.0 6.0 0.0,6.0 5.0 0.0,5.0 5.0 0.0))
> servidor:/usr/local/src/postgresql-7.2.1/contrib/postgis-0.7.3/
>
>
> Thanks
>
> _______________________________________________
> 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