|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
AsGML and AsKML not working in 1.3.2?I am trying to use the AsGML and AsKML functions in PostGIS 1.3.2 I get this error when trying to use AsGML
"ERROR: XX000: Only GML 2 and GML 3 are supported" The documentations says it is defined like this AsGML([version], geometry, [precision]) But in the functions I see AsGML(geometry, int, int) I have tried calling it with and without a version number all seem to do the same thing. Then I want to also call AsKML but that function does not appear to exist. I get this error "ERROR: 42883: function askml(geometry) does not exist" and I do not see it in the list of functions |
|
|
Re: AsGML and AsKML not working in 1.3.2?Try ST_AsGML and ST_AsKML
P On 3/17/08, davidj2k <davidj2k@...> wrote: > > I am trying to use the AsGML and AsKML functions in PostGIS 1.3.2 I get this > error when trying to use AsGML > > "ERROR: XX000: Only GML 2 and GML 3 are supported" > > The documentations says it is defined like this > AsGML([version], geometry, [precision]) > But in the functions I see > > AsGML(geometry, int, int) > I have tried calling it with and without a version number all seem to do the > same thing. > > > Then I want to also call AsKML but that function does not appear to exist. > I get this error > "ERROR: 42883: function askml(geometry) does not exist" > and I do not see it in the list of functions > > -- > View this message in context: http://www.nabble.com/AsGML-and-AsKML-not-working-in-1.3.2--tp16098350p16098350.html > Sent from the PostGIS - User mailing list archive at Nabble.com. > > _______________________________________________ > postgis-users mailing list > postgis-users@... > http://postgis.refractions.net/mailman/listinfo/postgis-users > postgis-users mailing list postgis-users@... http://postgis.refractions.net/mailman/listinfo/postgis-users |
|
|
Re: AsGML and AsKML not working in 1.3.2?If I try that I get Try ST_AsGML and ST_AsKML
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. _______________________________________________ postgis-users mailing list postgis-users@... http://postgis.refractions.net/mailman/listinfo/postgis-users |
|
|
Re: AsGML and AsKML not working in 1.3.2?select postgis_full_version().
I am seeing it work just fine on my installation... pramsey=# select st_asgml(test_geom) from test; On 3/17/08, David Jordan <davidj2k@...> wrote: > If I try that I get > ERROR: 42883: function st_asgml(geometry) does not exist > > Paul Ramsey <pramsey@...> wrote: > Try ST_AsGML and ST_AsKML > > P > > On 3/17/08, davidj2k wrote: > > > > I am trying to use the AsGML and AsKML functions in PostGIS 1.3.2 I get > this > > error when trying to use AsGML > > > > "ERROR: XX000: Only GML 2 and GML 3 are supported" > > > > The documentations says it is defined like this > > AsGML([version], geometry, [precision]) > > But in the functions I see > > > > AsGML(geometry, int, int) > > I have tried calling it with and without a version number all seem to do > the > > same thing. > > > > > > Then I want to also call AsKML but that function does not appear to exist. > > I get this error > > "ERROR: 42883: function askml(geometry) does not exist" > > and I do not see it in the list of functions > > > > -- > > View this message in context: > http://www.nabble.com/AsGML-and-AsKML-not-working-in-1.3.2--tp16098350p16098350.html > > Sent from the PostGIS - User mailing list archive at Nabble.com. > > > > _______________________________________________ > > postgis-users mailing list > > postgis-users@... > > > http://postgis.refractions.net/mailman/listinfo/postgis-users > > > _______________________________________________ > postgis-users mailing list > postgis-users@... > http://postgis.refractions.net/mailman/listinfo/postgis-users > > > > ________________________________ > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > now. > > > _______________________________________________ > postgis-users mailing list > postgis-users@... > http://postgis.refractions.net/mailman/listinfo/postgis-users > > postgis-users mailing list postgis-users@... http://postgis.refractions.net/mailman/listinfo/postgis-users |
|
|
Re: AsGML and AsKML not working in 1.3.2?I think I might know what the problem is, I am using a database that was created in an older version of PostGIS and I restored from a file, is there a simple way to update the functions in this database? I can see the correct function in another database that was created in this version.
Paul Ramsey <pramsey@...> wrote: select postgis_full_version().
Never miss a thing. Make Yahoo your homepage. _______________________________________________ postgis-users mailing list postgis-users@... http://postgis.refractions.net/mailman/listinfo/postgis-users |
|
|
Re: AsGML and AsKML not working in 1.3.2?Run lwpostgis_upgrade.sql on your old database, that should refresh
the function signatures to match the underlying .so. P On 3/17/08, David Jordan <davidj2k@...> wrote: > I think I might know what the problem is, I am using a database that was > created in an older version of PostGIS and I restored from a file, is there > a simple way to update the functions in this database? I can see the > correct function in another database that was created in this version. > > Paul Ramsey <pramsey@...> wrote: > select postgis_full_version(). > > I am seeing it work just fine on my installation... > > pramsey=# select st_asgml(test_geom) from test; > > > On 3/17/08, David Jordan wrote: > > If I try that I get > > ERROR: 42883: function st_asgml(geometry) does not exist > > > > Paul Ramsey wrote: > > Try ST_AsGML and ST_AsKML > > > > P > > > > On 3/17/08, davidj2k wrote: > > > > > > I am trying to use the AsGML and AsKML functions in PostGIS 1.3.2 I get > > this > > > error when trying to use AsGML > > > > > > "ERROR: XX000: Only GML 2 and GML 3 are supported" > > > > > > The documentations says it is defined like this > > > AsGML([version], geometry, [precision]) > > > But in the functions I see > > > > > > AsGML(geometry, int, int) > > > I have tried calling it with and without a version number all seem to do > > the > > > same thing. > > > > > > > > > Then I want to also call AsKML but that function does not appear to > exist. > > > I get this error > > > "ERROR: 42883: function askml(geometry) does not exist" > > > and I do not see it in the list of functions > > > > > > -- > > > View this message in context: > > > http://www.nabble.com/AsGML-and-AsKML-not-working-in-1.3.2--tp16098350p16098350.html > > > Sent from the PostGIS - User mailing list archive at Nabble.com. > > > > > > _______________________________________________ > > > postgis-users mailing list > > > postgis-users@... > > > > > > http://postgis.refractions.net/mailman/listinfo/postgis-users > > > > > _______________________________________________ > > postgis-users mailing list > > postgis-users@... > > > http://postgis.refractions.net/mailman/listinfo/postgis-users > > > > > > > > ________________________________ > > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > > now. > > > > > > _______________________________________________ > > postgis-users mailing list > > postgis-users@... > > > http://postgis.refractions.net/mailman/listinfo/postgis-users > > > > > _______________________________________________ > postgis-users mailing list > postgis-users@... > http://postgis.refractions.net/mailman/listinfo/postgis-users > > > > ________________________________ > Never miss a thing. Make Yahoo your homepage. > > > _______________________________________________ > postgis-users mailing list > postgis-users@... > http://postgis.refractions.net/mailman/listinfo/postgis-users > > postgis-users mailing list postgis-users@... http://postgis.refractions.net/mailman/listinfo/postgis-users |
|
|
Re: AsGML and AsKML not working in 1.3.2?That did the trick, thank you again
Paul Ramsey <pramsey@...> wrote: Run lwpostgis_upgrade.sql on your old database, that should refresh
Looking for last minute shopping deals? Find them fast with Yahoo! Search. _______________________________________________ postgis-users mailing list postgis-users@... http://postgis.refractions.net/mailman/listinfo/postgis-users |
| Free Forum Powered by Nabble | Forum Help |