Hi, And then the Auto Assign Attribute tool can write the whole geometry as WKT into an existing attribute field. It might have an option to assing X and Y coordinates too/instead. Perhaps even create the new attributes so that users would not need to edit schema first.
-Jukka Rahkonen- ________________________________ Lähettäjä: Giuseppe Aruta [giuseppe_ar...@yahoo.it] Lähetetty: 29. huhtikuuta 2012 11:25 Vastaanottaja: OpenJump develop and use Aihe: Re: [JPP-Devel] New CSV-driver eats original X- and Y-fields Hi Stefan, there is a beanscript from Michael that extract coordinates (x and y) from features. It works fine with points. Attribute calculator doesn't extract coordinates, right now Giuseppe ________________________________ Da: Stefan Steiniger <sst...@geo.uzh.ch> A: OpenJump develop and use <jump-pilot-devel@lists.sourceforge.net> Inviato: Domenica 29 Aprile 2012 6:19 Oggetto: Re: [JPP-Devel] New CSV-driver eats original X- and Y-fields Hei, I think best is to have both: the CSV keeps the original coordinates as attributes (for points) and a separate plugin that extracts the coordinates as attributes. I am actually not sure, can the Attribute Calculator do that? The first is usefully for instance for (animal) tracking data in WGS84 that need to be transformed into the local UTM system for analysis. but then: it actually works only for points not for lines or polygons... so you would need to decide about centroid or interior point or ... stefan Am 27.04.12 12:46, schrieb Michaël Michaud: > Hi, >> I believe that sometimes people would like to keep also the original X >> and Y fields when they import CSV data. How about having a "Import >> coordinates also as attributes" check box? > > Wouldn't it be better to make this feature independant from the driver ? > What do you think of a plugin with the following options : > add X, add Y and add Z > eventually merged with the plugin 'Calculate areas and lengths' (but > adding attributes instead of choosing) > > Michaël > >> -Jukka Rahkonen- >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> >> _______________________________________________ >> Jump-pilot-devel mailing list >> Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net> >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel