Home
last modified time | relevance | path

Searched refs:ppszDstText (Results 1 – 25 of 39) sorted by relevance

12

/dports/devel/upp/upp/bazaar/plugin/gdal/ogr/
H A Dogrmultipoint.cpp106 OGRErr OGRMultiPoint::exportToWkt( char ** ppszDstText, in exportToWkt() argument
121 *ppszDstText = CPLStrdup("MULTIPOINT EMPTY"); in exportToWkt()
125 *ppszDstText = (char *) VSIMalloc( nMaxString ); in exportToWkt()
126 if( *ppszDstText == NULL ) in exportToWkt()
146 strcat( *ppszDstText + nRetLen, "," ); in exportToWkt()
149 nRetLen += strlen(*ppszDstText + nRetLen); in exportToWkt()
154 *ppszDstText = (char *) CPLRealloc(*ppszDstText,nMaxString); in exportToWkt()
159 strcat( *ppszDstText + nRetLen, "(" ); in exportToWkt()
163 OGRMakeWktCoordinate( *ppszDstText + nRetLen, in exportToWkt()
171 strcat( *ppszDstText + nRetLen, ")" ); in exportToWkt()
[all …]
H A Dogrcurvecollection.cpp202 char ** ppszDstText ) const in exportToWkt()
216 *ppszDstText = CPLStrdup(osEmpty); in exportToWkt()
237 *ppszDstText = (char *) VSIMalloc(nCumulativeLength + nCurveCount + in exportToWkt()
240 if( *ppszDstText == NULL ) in exportToWkt()
249 strcpy( *ppszDstText, poGeom->getGeometryName() ); in exportToWkt()
251 strcat( *ppszDstText, " Z" ); in exportToWkt()
252 strcat( *ppszDstText, " (" ); in exportToWkt()
253 nCumulativeLength = strlen(*ppszDstText); in exportToWkt()
258 (*ppszDstText)[nCumulativeLength++] = ','; in exportToWkt()
276 (*ppszDstText)[nCumulativeLength++] = ')'; in exportToWkt()
[all …]
H A Dogrpolygon.cpp497 OGRErr OGRPolygon::exportToWkt( char ** ppszDstText, in exportToWkt() argument
513 *ppszDstText = CPLStrdup("POLYGON Z EMPTY"); in exportToWkt()
515 *ppszDstText = CPLStrdup("POLYGON EMPTY"); in exportToWkt()
548 *ppszDstText = (char *) VSIMalloc(nCumulativeLength + nNonEmptyRings + 15); in exportToWkt()
550 if( *ppszDstText == NULL ) in exportToWkt()
560 strcpy( *ppszDstText, "POLYGON Z (" ); in exportToWkt()
562 strcpy( *ppszDstText, "POLYGON (" ); in exportToWkt()
563 nCumulativeLength = strlen(*ppszDstText); in exportToWkt()
574 (*ppszDstText)[nCumulativeLength++] = ','; in exportToWkt()
583 (*ppszDstText)[nCumulativeLength++] = ')'; in exportToWkt()
[all …]
H A Dogrgeometrycollection.cpp669 OGRErr OGRGeometryCollection::exportToWkt( char ** ppszDstText, in exportToWkt() argument
672 return exportToWktInternal(ppszDstText, eWkbVariant, NULL); in exportToWkt()
730 *ppszDstText = CPLStrdup(osEmpty); in exportToWktInternal()
739 if( *ppszDstText == NULL ) in exportToWktInternal()
748 strcpy( *ppszDstText, getGeometryName() ); in exportToWktInternal()
750 strcat( *ppszDstText, " Z" ); in exportToWktInternal()
751 strcat( *ppszDstText, " (" ); in exportToWktInternal()
752 nCumulativeLength = strlen(*ppszDstText); in exportToWktInternal()
760 (*ppszDstText)[nCumulativeLength++] = ','; in exportToWktInternal()
779 (*ppszDstText)[nCumulativeLength++] = ')'; in exportToWktInternal()
[all …]
H A Dogrlinestring.cpp1039 OGRErr OGRSimpleCurve::exportToWkt( char ** ppszDstText, in exportToWkt() argument
1056 *ppszDstText = CPLStrdup(osEmpty); in exportToWkt()
1063 *ppszDstText = (char *) VSIMalloc( nMaxString ); in exportToWkt()
1064 if( *ppszDstText == NULL ) in exportToWkt()
1080 nMaxString, (int) strlen(*ppszDstText), i, *ppszDstText ); in exportToWkt()
1082 VSIFree( *ppszDstText ); in exportToWkt()
1083 *ppszDstText = NULL; in exportToWkt()
1088 strcat( *ppszDstText + nRetLen, "," ); in exportToWkt()
1090 nRetLen += strlen(*ppszDstText + nRetLen); in exportToWkt()
1104 nRetLen += strlen(*ppszDstText + nRetLen); in exportToWkt()
[all …]
H A Dogrmultilinestring.cpp92 OGRErr OGRMultiLineString::exportToWkt( char ** ppszDstText, in exportToWkt() argument
96 return exportToWktInternal( ppszDstText, eWkbVariant, "LINESTRING" ); in exportToWkt()
H A Dogrmultipolygon.cpp93 OGRErr OGRMultiPolygon::exportToWkt( char ** ppszDstText, in exportToWkt() argument
97 return exportToWktInternal( ppszDstText, eWkbVariant, "POLYGON" ); in exportToWkt()
H A Dogrpoint.cpp407 OGRErr OGRPoint::exportToWkt( char ** ppszDstText, in exportToWkt() argument
417 *ppszDstText = CPLStrdup("POINT Z EMPTY"); in exportToWkt()
419 *ppszDstText = CPLStrdup("POINT EMPTY"); in exportToWkt()
428 *ppszDstText = CPLStrdup( szTextEquiv ); in exportToWkt()
H A Dogrmulticurve.cpp129 OGRErr OGRMultiCurve::exportToWkt( char ** ppszDstText, in exportToWkt() argument
133 return exportToWktInternal( ppszDstText, wkbVariantIso, "LINESTRING" ); in exportToWkt()
H A Dogr_geometry.h156 virtual OGRErr exportToWkt( char ** ppszDstText, OGRwkbVariant=wkbVariantOldOgc ) const = 0;
256 virtual OGRErr exportToWkt( char ** ppszDstText, OGRwkbVariant=wkbVariantOldOgc ) const;
398 virtual OGRErr exportToWkt( char ** ppszDstText, OGRwkbVariant=wkbVariantOldOgc ) const;
596 virtual OGRErr exportToWkt( char ** ppszDstText, OGRwkbVariant=wkbVariantOldOgc ) const;
669 OGRErr exportToWkt( const OGRGeometry* poGeom, char ** ppszDstText ) const;
730 virtual OGRErr exportToWkt( char ** ppszDstText, OGRwkbVariant=wkbVariantOldOgc ) const;
865 …virtual OGRErr exportToWkt( char ** ppszDstText, OGRwkbVariant eWkbVariant = wkbVariantOldOgc ) co…
946 virtual OGRErr exportToWkt( char ** ppszDstText, OGRwkbVariant=wkbVariantOldOgc ) const;
986 OGRErr exportToWktInternal( char ** ppszDstText,
1016 virtual OGRErr exportToWkt( char ** ppszDstText, OGRwkbVariant=wkbVariantOldOgc ) const;
/dports/astro/opencpn/OpenCPN-5.2.4/libs/gdal/src/
H A Dogrmultipoint.cpp173 OGRErr OGRMultiPoint::exportToWkt( char ** ppszDstText ) const in exportToWkt()
181 *ppszDstText = CPLStrdup("MULTIPOINT(EMPTY)"); in exportToWkt()
185 *ppszDstText = (char *) VSIMalloc( nMaxString ); in exportToWkt()
186 if( *ppszDstText == NULL ) in exportToWkt()
189 sprintf( *ppszDstText, "%s (", getGeometryName() ); in exportToWkt()
196 strcat( *ppszDstText + nRetLen, "," ); in exportToWkt()
198 nRetLen += strlen(*ppszDstText + nRetLen); in exportToWkt()
203 *ppszDstText = (char *) CPLRealloc(*ppszDstText,nMaxString); in exportToWkt()
207 OGRMakeWktCoordinate( *ppszDstText + nRetLen, in exportToWkt()
212 OGRMakeWktCoordinate( *ppszDstText + nRetLen, in exportToWkt()
[all …]
H A Dogrmultilinestring.cpp272 OGRErr OGRMultiLineString::exportToWkt( char ** ppszDstText ) const in exportToWkt()
281 *ppszDstText = CPLStrdup("MULTILINESTRING(EMPTY)"); in exportToWkt()
304 *ppszDstText = (char *) VSIMalloc(nCumulativeLength+getNumGeometries()+20); in exportToWkt()
306 if( *ppszDstText == NULL ) in exportToWkt()
312 strcpy( *ppszDstText, "MULTILINESTRING (" ); in exportToWkt()
317 strcat( *ppszDstText, "," ); in exportToWkt()
319 strcat( *ppszDstText, papszLines[iLine] + 11 ); in exportToWkt()
323 strcat( *ppszDstText, ")" ); in exportToWkt()
H A Dogrmultipolygon.cpp298 OGRErr OGRMultiPolygon::exportToWkt( char ** ppszDstText ) const in exportToWkt()
307 *ppszDstText = CPLStrdup("MULTIPOLYGON(EMPTY)"); in exportToWkt()
330 *ppszDstText = (char *) VSIMalloc(nCumulativeLength+getNumGeometries()+20); in exportToWkt()
332 if( *ppszDstText == NULL ) in exportToWkt()
338 strcpy( *ppszDstText, "MULTIPOLYGON (" ); in exportToWkt()
343 strcat( *ppszDstText, "," ); in exportToWkt()
345 strcat( *ppszDstText, papszLines[iLine] + 8 ); in exportToWkt()
349 strcat( *ppszDstText, ")" ); in exportToWkt()
H A Dogrlinestring.cpp906 *ppszDstText = CPLStrdup("LINESTRING(EMPTY)"); in exportToWkt()
913 *ppszDstText = (char *) VSIMalloc( nMaxString ); in exportToWkt()
914 if( *ppszDstText == NULL ) in exportToWkt()
917 sprintf( *ppszDstText, "%s (", getGeometryName() ); in exportToWkt()
927 nMaxString, strlen(*ppszDstText), i, *ppszDstText ); in exportToWkt()
929 VSIFree( *ppszDstText ); in exportToWkt()
930 *ppszDstText = NULL; in exportToWkt()
935 strcat( *ppszDstText + nRetLen, "," ); in exportToWkt()
937 nRetLen += strlen(*ppszDstText + nRetLen); in exportToWkt()
949 nRetLen += strlen(*ppszDstText + nRetLen); in exportToWkt()
[all …]
H A Dogrgeometrycollection.cpp723 OGRErr OGRGeometryCollection::exportToWkt( char ** ppszDstText ) const in exportToWkt()
732 *ppszDstText = CPLStrdup("GEOMETRYCOLLECTION(EMPTY)"); in exportToWkt()
753 *ppszDstText = (char *) VSIMalloc(nCumulativeLength + nGeomCount + 23); in exportToWkt()
755 if( *ppszDstText == NULL ) in exportToWkt()
761 strcpy( *ppszDstText, getGeometryName() ); in exportToWkt()
762 strcat( *ppszDstText, " (" ); in exportToWkt()
767 strcat( *ppszDstText, "," ); in exportToWkt()
769 strcat( *ppszDstText, papszGeoms[iGeom] ); in exportToWkt()
773 strcat( *ppszDstText, ")" ); in exportToWkt()
H A Dogrpolygon.cpp703 OGRErr OGRPolygon::exportToWkt( char ** ppszDstText ) const in exportToWkt()
715 *ppszDstText = CPLStrdup("POLYGON(EMPTY)"); in exportToWkt()
738 *ppszDstText = (char *) VSIMalloc(nCumulativeLength + nRingCount + 11); in exportToWkt()
740 if( *ppszDstText == NULL ) in exportToWkt()
746 strcpy( *ppszDstText, "POLYGON (" ); in exportToWkt()
751 strcat( *ppszDstText, "," ); in exportToWkt()
753 strcat( *ppszDstText, papszRings[iRing] + 11 ); in exportToWkt()
757 strcat( *ppszDstText, ")" ); in exportToWkt()
/dports/devel/upp/upp/bazaar/plugin/geotiff/libgeotiff/ogr/
H A Dogrmultipoint.cpp112 OGRErr OGRMultiPoint::exportToWkt( char ** ppszDstText ) const in exportToWkt()
123 *ppszDstText = CPLStrdup("MULTIPOINT EMPTY"); in exportToWkt()
127 *ppszDstText = (char *) VSIMalloc( nMaxString ); in exportToWkt()
128 if( *ppszDstText == NULL ) in exportToWkt()
131 sprintf( *ppszDstText, "%s (", getGeometryName() ); in exportToWkt()
145 strcat( *ppszDstText + nRetLen, "," ); in exportToWkt()
148 nRetLen += strlen(*ppszDstText + nRetLen); in exportToWkt()
153 *ppszDstText = (char *) CPLRealloc(*ppszDstText,nMaxString); in exportToWkt()
156 OGRMakeWktCoordinate( *ppszDstText + nRetLen, in exportToWkt()
163 strcat( *ppszDstText+nRetLen, ")" ); in exportToWkt()
H A Dogrmultipolygon.cpp262 OGRErr OGRMultiPolygon::exportToWkt( char ** ppszDstText ) const in exportToWkt()
299 *ppszDstText = CPLStrdup("MULTIPOLYGON EMPTY"); in exportToWkt()
307 *ppszDstText = (char *) VSIMalloc(nCumulativeLength+getNumGeometries()+20); in exportToWkt()
309 if( *ppszDstText == NULL ) in exportToWkt()
315 strcpy( *ppszDstText, "MULTIPOLYGON (" ); in exportToWkt()
324 strcat( *ppszDstText, "," ); in exportToWkt()
327 strcat( *ppszDstText, papszLines[iLine] + 8 ); in exportToWkt()
331 strcat( *ppszDstText, ")" ); in exportToWkt()
H A Dogrlinestring.cpp982 *ppszDstText = CPLStrdup(osEmpty); in exportToWkt()
989 *ppszDstText = (char *) VSIMalloc( nMaxString ); in exportToWkt()
990 if( *ppszDstText == NULL ) in exportToWkt()
993 sprintf( *ppszDstText, "%s (", getGeometryName() ); in exportToWkt()
1003 nMaxString, (int) strlen(*ppszDstText), i, *ppszDstText ); in exportToWkt()
1005 VSIFree( *ppszDstText ); in exportToWkt()
1006 *ppszDstText = NULL; in exportToWkt()
1011 strcat( *ppszDstText + nRetLen, "," ); in exportToWkt()
1013 nRetLen += strlen(*ppszDstText + nRetLen); in exportToWkt()
1027 nRetLen += strlen(*ppszDstText + nRetLen); in exportToWkt()
[all …]
H A Dogrgeometrycollection.cpp607 OGRErr OGRGeometryCollection::exportToWkt( char ** ppszDstText ) const in exportToWkt()
616 *ppszDstText = CPLStrdup("GEOMETRYCOLLECTION EMPTY"); in exportToWkt()
637 *ppszDstText = (char *) VSIMalloc(nCumulativeLength + nGeomCount + 23); in exportToWkt()
639 if( *ppszDstText == NULL ) in exportToWkt()
645 strcpy( *ppszDstText, getGeometryName() ); in exportToWkt()
646 strcat( *ppszDstText, " (" ); in exportToWkt()
651 strcat( *ppszDstText, "," ); in exportToWkt()
653 strcat( *ppszDstText, papszGeoms[iGeom] ); in exportToWkt()
657 strcat( *ppszDstText, ")" ); in exportToWkt()
H A Dogrmultilinestring.cpp233 OGRErr OGRMultiLineString::exportToWkt( char ** ppszDstText ) const in exportToWkt()
270 *ppszDstText = CPLStrdup("MULTILINESTRING EMPTY"); in exportToWkt()
278 *ppszDstText = (char *) VSIMalloc(nCumulativeLength+getNumGeometries()+20); in exportToWkt()
280 if( *ppszDstText == NULL ) in exportToWkt()
286 char *pszAppendPoint = *ppszDstText; in exportToWkt()
H A Dogrpolygon.cpp629 OGRErr OGRPolygon::exportToWkt( char ** ppszDstText ) const in exportToWkt()
642 *ppszDstText = CPLStrdup("POLYGON EMPTY"); in exportToWkt()
674 *ppszDstText = (char *) VSIMalloc(nCumulativeLength + nNonEmptyRings + 11); in exportToWkt()
676 if( *ppszDstText == NULL ) in exportToWkt()
682 strcpy( *ppszDstText, "POLYGON (" ); in exportToWkt()
693 strcat( *ppszDstText, "," ); in exportToWkt()
695 strcat( *ppszDstText, papszRings[iRing] + 11 ); in exportToWkt()
699 strcat( *ppszDstText, ")" ); in exportToWkt()
H A Dogrpoint.cpp404 OGRErr OGRPoint::exportToWkt( char ** ppszDstText ) const in exportToWkt()
411 *ppszDstText = CPLStrdup( "POINT EMPTY" ); in exportToWkt()
416 *ppszDstText = CPLStrdup( szTextEquiv ); in exportToWkt()
H A Dogr_geometry.h100 virtual OGRErr exportToWkt( char ** ppszDstText ) const = 0;
178 virtual OGRErr exportToWkt( char ** ppszDstText ) const;
257 virtual OGRErr exportToWkt( char ** ppszDstText ) const;
423 virtual OGRErr exportToWkt( char ** ppszDstText ) const;
484 virtual OGRErr exportToWkt( char ** ppszDstText ) const;
/dports/astro/opencpn/OpenCPN-5.2.4/libs/gdal/include/gdal/
H A Dogr_geometry.h95 virtual OGRErr exportToWkt( char ** ppszDstText ) const = 0;
171 virtual OGRErr exportToWkt( char ** ppszDstText ) const;
252 virtual OGRErr exportToWkt( char ** ppszDstText ) const;
395 virtual OGRErr exportToWkt( char ** ppszDstText ) const;
451 virtual OGRErr exportToWkt( char ** ppszDstText ) const;

12