Hi, Thanks for the links, Jukka, I'll read how GDAL manage these formats.
Michaël Le 25/02/2012 16:27, Rahkonen Jukka a écrit : > Hi, > > Just wonder if there could be something worth copying in the GDAL CSV driver > http://gdal.org/ogr/drv_csv.html > and in the virtual data sets http://gdal.org/ogr/drv_vrt.html > > One thing that occurs with real data is that X and Y colums can be in > whatever place in the line and they can also be in Y-X order (or X can mean > either easting or northing according to the coordinate system definitions). > > Perhaps OpenJUMP could support at least partially the GDAL .vrt > configuration. I guess that often needed would be the place and order of > x,y,z values and next the datatypes. > > > -Jukka Rahkonen- > > ________________________________________ > Michaël Michaud wrote: > >> Hi all, >> Hope someone from Pirol is still monitoring the list > PLUS edition currently includes my txt driver and Pirol csv driver. > I'd like to replace them by a single one (mine), but for that, I must > - understand pirol's csv driver and its usage, > - get your opinion > - make some improvements to txt driver to include some Pirol's driver > feature > > Here is a brief, subjective comparison > > Pirol's Driver > ----------------- > Read/write a format documented on Pirol's site > (http://www.pirol.hs-osnabrueck.de/fileadmin/users/159/upload/PlugIns/PIROL-CSV_specification.txt) > + columns have datatypes > - uses only tabulation > ? uses a unit definition line (not recognized by non-pirol openjump > plugins) > ? don't know if $ prefix is part of the format > ? don't know how are x and y columns recognized (by name or by position) > > Michaël's Driver > ----------------- > Read write simple csv files and many variants > + read/write tabulation, comma, semi-column... separated values > + header line (column definition) is an option > - x/y must be in first position (or second for the option xy + identifier) > + can also read z values > + same framework is used to read geometries as x,y(,z) separated values > or as WKT (possibility to read/write complex geometries) > - no datatype (se below) > - no units > > On going work > -------------------- > None of the driver implement the full csv specification (like escape > characters, multilines field...) > I'm currently adding datatype option to my driver which is a useful > option consistent with the OpenJUMP model (FeatureSchema) > I would't like to add unit information which is much more specific and > does not fit general OJ model > I may add a comment line prefix option. > One drawback of having more options is that you have to choose each of > these options when you import or export your data. > > I'll upload the txt driver with datatypes this week-end or next week. > > Any tought is welcome, especially if Pirol's driver is currently needed > by other Pirol's plugins > or by any OpenJUMP user. > > Michaël > > ------------------------------------------------------------------------------ > Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------------ > Virtualization& Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel