[R-sig-Geo] Define aliases in shapefiles
eerdeni
eerdeni at nies.go.jp
Fri Apr 10 04:10:08 CEST 2015
Hi
I can not run the [unionExtent]. Where do Will be solved if you install from
the what package . Please tell me.
Regards,
-----Original Message-----
From: R-sig-Geo [mailto:r-sig-geo-bounces at r-project.org] On Behalf Of Barry
Rowlingson
Sent: Thursday, April 9, 2015 8:36 PM
To: Arnaud Mosnier
Cc: r-sig-geo at r-project.org
Subject: Re: [R-sig-Geo] Define aliases in shapefiles
On Wed, Apr 8, 2015 at 7:53 PM, Arnaud Mosnier <a.mosnier at gmail.com> wrote:
> Dear useRs,
>
> I am searching for a way to break the 10 character limit of the field
> names in shapefiles created using for example the writeOGR function
> from the rgdal package.
>
> On way could be to define aliases for field names, but I am not aware
> of a function allowing me to do that.
Are aliases an ArcGIS thing for shapefile names? I can only see vague
references on the internet to something like that. Do you create field name
aliases in ArcGIS? Are they saved with the shapefile or with the ArcGIS
file? Do you get a foo.shp.xml file that is keeping this extra metadata
around? Perhaps we could reverse-engineer that and create it in R.
Standards-compliant shapefiles can only have 10-character field names.
You could use another file format, such as GML or Spatialite, as long as
whatever you are saving these for can read them.
Barry
_______________________________________________
R-sig-Geo mailing list
R-sig-Geo at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
More information about the R-sig-Geo
mailing list