1

I am wondering how you can save multiple data for one point feature in ArcMap?

For example, I have a shape-file with point features, the data that needs to be included for each point feature consists of different years (2007, 2008, 2009 and 2010). Each year includes data such as total number of students, enrollments, est. How can I save this data in arcMap for each specific point feature?

I need to be able to save all data for individual point features, from which I can load into Geoserver, and when a point feature is selected in OpenLayers (Geoserver), all the (yearly) data will be displayed.

So far I have tried joining the data in arcmap, but when served up in GeoServer, only the year 2007 is displayed when a point feature is selected, and the rest of the years are not displayed (happens for all point features).

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Jul 8, 2014 at 7:20
2
  • Can you explain the workflow in details, please? You open the shapefile in ArcMap, perform some joins. Then you somehow serve this shapefile via GeoServer (how do you do this?). Commented Jul 8, 2014 at 7:41
  • Hi Alex. I opened a shapefile in ArcMap from which I proceeded to use the Join Data by right-cliking the layer and selecting "joins" and "selecting join attributes from a table". The actual process of serving the shapefile in Geoserver (All done in Geoserver) involves adding a new store (shapefile), selecting the shapefile and publishing the shapefile (SRS,bounding box, lat/long est). Commented Jul 8, 2014 at 8:06

2 Answers 2

2

When performing the attribute join in ArcMap, the joined information (that you can see in the attribute table) is stored within a map document (.mxd) file. In order to save joined fields in the new shapefile (so it will have fields for each year you need), you have to export the joined layer from the table of contents.

enter image description here

The result shapefile exported on the disk can be used further in your workflow when you expose it via non-ArcGIS software.

answered Jul 8, 2014 at 7:44
1
  • Thanks for your help Alex. I will give this a shot. Many thanks. Commented Jul 8, 2014 at 8:12
1

If you have a table with a row for each combination of year and point ID, then you have a many-to-one relationship ... multiple rows (years) for each point. This is always a pain in GIS because you have can't visualize multiple related rows very easily.

If you have few enough years you have to deal with, you can work around the problem by creating a column for each attribute for each year ... enrollment_2007, enrollment_2008, etc. Then you have only one record for each point, and it will export cleanly out into a shapefile for geoserver.

answered Jul 9, 2014 at 21:22

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.