HI Cat, from this documentation,
https://arches3.readthedocs.org/en/latest/arches-data/#from-shapefile, it
looks like you should just put 'GEOMETRY.E1' in there for everything.  If
you want to map the "GEOMETRY_TYPE_QUALIFIER.E55" for each polygon, you
need to add a field in the shapefile, and then make the appropriate
reference in the field mapping property of the .config file.  The values in
your shapefile field should be "GEOM_TYPE:1" based on your geometry type
authority document, not "perimeter".

Just a word of warning, I had issues when I tried using the shapefile
upload, as I documented a while ago
<https://github.com/archesproject/arches/issues/227>.  I haven't tried
again since, so I don't know if any work has been done to improve that
function.

On Mon, Jan 25, 2016 at 3:38 PM, Cat Moody <[email protected]>
wrote:

> I'm working on getting some very basic data into arches (I figure I should
> start with a very simple data set at first).  I've read through the
> documentation, but can't seem to get the data to load.  My config file
> looks like this:
>
> {
>         "RESOURCE_TYPE": "Historical_Event.E5",
>         "GEOM_TYPE": "perimeter polygon.E55",
>         "FIELD_MAP": [
>                 ["name","NAME.E41"]
>         ]
> }
>
>
>
> the error I continue getting relates to the geom_type- I've tried many
> variations, but can't seem to get anything to work
>
> entity.create_from_mapping(row.resourcetype,
> schema[row.attributename]['step
> s'], row.attributename, row.attributevalue)
> KeyError: u'perimeter polygon.E55'
>
>
>
> I don't quite understand what I'm supposed to have as a value in that
> section.
> Any help is much appreciated
> Thanks,
> Cat
>
> --
> -- To post, send email to [email protected]. To unsubscribe,
> send email to [email protected]. For more
> information, visit https://groups.google.com/d/forum/archesproject?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Arches Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- To post, send email to [email protected]. To unsubscribe, send 
email to [email protected]. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to