[postgis-users] PGgeometry object using geomFromString

Ahmet Temiz ahmettemiz88 at gmail.com
Sun Nov 11 06:46:45 PST 2012


Hello

Is this correct way to create a PGgeometry object in java ?
or is there any ( better) way ?

String PGgeometryStr ="SRID=" + "4326" + ";" + "POINT(10 5)";

 PGgeometry  pg = new
                PGgeometry(PGgeometry.geomFromString(PGgeometryStr));


kid regards

--
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Planlama ve Zarar Azaltma Dairesi Başkanlığı

Eskişehir Yolu 10. km.
Lodumlu / Ankara
Tel : 0 312 2872680 / 1535
________________________

Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency


More information about the postgis-users mailing list