Revision 20219 trunk/libraries/libGPE/src/org/gvsig/gpe/writer/IGPEWriterHandlerImplementor.java
IGPEWriterHandlerImplementor.java | ||
---|---|---|
4 | 4 |
import java.io.OutputStream; |
5 | 5 |
|
6 | 6 |
import org.gvsig.gpe.parser.GPEErrorHandler; |
7 |
import org.gvsig.gpe.parser.ICoordinateIterator; |
|
7 | 8 |
import org.gvsig.xmlschema.som.IXSSchemaDocument; |
8 | 9 |
|
9 | 10 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
... | ... | |
227 | 228 |
* that it has to write a bounding box. |
228 | 229 |
* @param id |
229 | 230 |
* Bounding box identifier |
230 |
* @param x |
|
231 |
* X coordinate (minimum and maximum values) |
|
232 |
* @param y |
|
233 |
* Y coordinate (minimum and maximum values) |
|
234 |
* @param z |
|
235 |
* Z coordinate (minimum and maximum values) |
|
231 |
* @param coords |
|
232 |
* A coordinates iterator |
|
236 | 233 |
* @param srs |
237 | 234 |
* Spatial reference system |
238 | 235 |
*/ |
239 |
public void startBbox(String id,double[] x, double[] y, double[] z,String srs);
|
|
236 |
public void startBbox(String id, ICoordinateIterator coords, String srs);
|
|
240 | 237 |
|
241 | 238 |
/** |
242 | 239 |
* It means that the current bounding box has finished to |
... | ... | |
285 | 282 |
* indicate that it has to write a point. |
286 | 283 |
* @param id |
287 | 284 |
* Point identifier |
288 |
* @param x |
|
289 |
* X coordinate |
|
290 |
* @param y |
|
291 |
* Y coordinate |
|
292 |
* @param z |
|
293 |
* Z coordinate |
|
285 |
* @param coords |
|
286 |
* A coordinates iterator |
|
294 | 287 |
* @param srs |
295 | 288 |
* Spatial reference system |
296 | 289 |
*/ |
297 |
public void startPoint(String id,double x, double y, double z, String srs);
|
|
290 |
public void startPoint(String id, ICoordinateIterator coords, String srs);
|
|
298 | 291 |
|
299 | 292 |
/** |
300 | 293 |
* It means that the current point has finished |
... | ... | |
323 | 316 |
* indicate that it has to write a lineString. |
324 | 317 |
* @param id |
325 | 318 |
* LineString identifier |
326 |
* @param x |
|
327 |
* X coordinate (n dimensions) |
|
328 |
* @param y |
|
329 |
* Y coordinate (n dimensions) |
|
330 |
* @param z |
|
331 |
* Z coordinate (n dimensions) |
|
319 |
* @param coords |
|
320 |
* A coordinates iterator |
|
332 | 321 |
* @param srs |
333 | 322 |
* Spatial reference system |
334 | 323 |
*/ |
335 |
public void startLineString(String id,double[] x, double[] y, double[] z, String srs);
|
|
324 |
public void startLineString(String id, ICoordinateIterator coords, String srs);
|
|
336 | 325 |
|
337 | 326 |
/** |
338 | 327 |
* It means that the current lineString has finished |
... | ... | |
361 | 350 |
* indicate that it has to write a linearRing. |
362 | 351 |
* @param id |
363 | 352 |
* LineString identifier |
364 |
* @param x |
|
365 |
* X coordinate (n dimensions). |
|
366 |
* @param y |
|
367 |
* Y coordinate (n dimensions) |
|
368 |
* @param z |
|
369 |
* Z coordinate (n dimensions) |
|
353 |
* @param coords |
|
354 |
* A coordinates iterator |
|
370 | 355 |
* @param srs |
371 | 356 |
* Spatial reference system |
372 | 357 |
*/ |
373 |
public void startLinearRing(String id,double[] x, double[] y, double[] z, String srs);
|
|
358 |
public void startLinearRing(String id, ICoordinateIterator coords, String srs);
|
|
374 | 359 |
|
375 | 360 |
/** |
376 | 361 |
* It means that the current linearRing has finished |
... | ... | |
383 | 368 |
* indicate that it has to write a polygon. |
384 | 369 |
* @param id |
385 | 370 |
* LineString identifier |
386 |
* @param x |
|
387 |
* X coordinate (n dimensions) |
|
388 |
* @param y |
|
389 |
* Y coordinate (n dimensions) |
|
390 |
* @param z |
|
391 |
* Z coordinate (n dimensions) |
|
371 |
* @param coords |
|
372 |
* A coordinates iterator |
|
392 | 373 |
* @param srs |
393 | 374 |
* Spatial reference system |
394 | 375 |
*/ |
395 |
public void startPolygon(String id,double[] x, double[] y, double[] z, String srs);
|
|
376 |
public void startPolygon(String id, ICoordinateIterator coords, String srs);
|
|
396 | 377 |
|
397 | 378 |
/** |
398 | 379 |
* It means that the current polygon has finished |
... | ... | |
437 | 418 |
* indicate that it has to write a innerPolygon. |
438 | 419 |
* @param id |
439 | 420 |
* LineString identifier |
440 |
* @param x |
|
441 |
* X coordinate (n dimensions) |
|
442 |
* @param y |
|
443 |
* Y coordinate (n dimensions) |
|
444 |
* @param z |
|
445 |
* Z coordinate (n dimensions) |
|
421 |
* @param coords |
|
422 |
* A coordinates iterator |
|
446 | 423 |
* @param srs |
447 | 424 |
* Spatial reference system |
448 | 425 |
*/ |
449 |
public void startInnerBoundary(String id,double[] x, double[] y, double[] z, String srs);
|
|
426 |
public void startInnerBoundary(String id, ICoordinateIterator coords, String srs);
|
|
450 | 427 |
|
451 | 428 |
/** |
452 | 429 |
* It means that the current innerPolygon has finished to |
Also available in: Unified diff