Aggregate_Geopoint_CSV_Export_Question

Hi all,

I have been using the Aggregate-CSV Export Feature. The CSV Export
Feature automatically generates four geopoint cells:
Location-Latitude, Location-Longitude, Location-Altitude, and
Location-Accuracy. How can I modify the Java code with Eclipse in
order to change the CSV cells to Latitude, Longitude, Altitude, and
Accuracy without Location?

Thank you.
-Eric

why not write a script to do this in the exported csv? it'll be a lot easier...

··· On Wed, Nov 23, 2011 at 15:37, Eric Ma wrote: > Hi all, > > I have been using the Aggregate-CSV Export Feature. The CSV Export > Feature automatically generates four geopoint cells: > Location-Latitude, Location-Longitude, Location-Altitude, and > Location-Accuracy. How can I modify the Java code with Eclipse in > order to change the CSV cells to Latitude, Longitude, Altitude, and > Accuracy without Location? > > Thank you. > -Eric > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >

FYI: The "Location-" prefix is added because "Location" is the name of the
GeoPoint field in your dataset.

If you have two GeoPoint fields in your form definition, e.g., "StartPt"
and "EndPt", then you would have columns in your CSV for "StartPt-Latitude"
etc, and "EndPt-Latitude" etc.

As Yaw suggests, it will be far easier to post-process the CSV file to
remove the fieldName- (e.g., Location-) from your CSV than to change the
Java source code.

If you are intending to work with the Java source code, you should be
sending questions like these to opendatakit-developers@

Mitch

··· On Wed, Nov 23, 2011 at 5:08 PM, Yaw Anokwa wrote:

why not write a script to do this in the exported csv? it'll be a lot
easier...

On Wed, Nov 23, 2011 at 15:37, Eric Ma em857@nyu.edu wrote:

Hi all,

I have been using the Aggregate-CSV Export Feature. The CSV Export
Feature automatically generates four geopoint cells:
Location-Latitude, Location-Longitude, Location-Altitude, and
Location-Accuracy. How can I modify the Java code with Eclipse in
order to change the CSV cells to Latitude, Longitude, Altitude, and
Accuracy without Location?

Thank you.
-Eric

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer


University of Washington
mitchellsundt@gmail.com