Fixed handling of POINT types as WKT (-w) in loader

git-svn-id: http://svn.osgeo.org/postgis/trunk@1834 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Sandro Santilli 2005-07-27 02:07:01 +00:00
parent a0c1dcac45
commit 12b1f5be0f
2 changed files with 7 additions and 3 deletions

View file

@ -17,11 +17,12 @@ PostGIS 1.1.0CVS
PostGIS 1.0.3
????/??/??
- Severe bugfix in lwgeom's 2d bounding box computation
- Bugfix in WKT (-w) POINT handling in loader
- Bugfix in dumper on 64bit machines
- Bugfix in dumper handling of user-defined queries
- Bugfix in create_undef.pl script
- Small performance improvement in canonical input function
- Severe bugfix in lwgeom's 2d bounding box computation
PostGIS 1.0.2
2005/07/04

View file

@ -1156,8 +1156,8 @@ void
InsertPointWKT(void)
{
unsigned int u;
if (dump_format) printf("SRID=%s;POINT(",sr_id);
else printf("GeometryFromText('POINT (");
if (dump_format) printf("SRID=%s;%s(", sr_id, pgtype);
else printf("GeometryFromText('%s(", pgtype);
for (u=0;u<obj->nVertices; u++){
if (u>0) printf(",");
@ -1646,6 +1646,9 @@ utf8 (const char *fromcode, char *inputbuf)
/**********************************************************************
* $Log$
* Revision 1.92 2005/07/27 02:07:01 strk
* Fixed handling of POINT types as WKT (-w) in loader
*
* Revision 1.91 2005/07/04 09:47:03 strk
* Added conservative iconv detection code
*