Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metada with every Feature Layer (hundreds of feature layers) #206

Closed
andzejhelcom opened this issue Apr 12, 2016 · 6 comments
Closed

Metada with every Feature Layer (hundreds of feature layers) #206

andzejhelcom opened this issue Apr 12, 2016 · 6 comments
Assignees
Milestone

Comments

@andzejhelcom
Copy link

We are preparing to migrate a map service from Flex Viewer to Web AppBuilder. We would like to keep approach: one map viewer based entry point, but with a user friendly search of Feature layers.

We have hundreds of different Feature layers and metadata file on each Feature layer. We are considering to use ArcGIS Server for Features layers and Geoportal Server for Metadata. For layer searching we might use Geoportal Search Widget or other solution (depends on compatibility with Web AppBuilder).

We want all these Feature layers would be present in maps Layer List in Web AppBuilder as invisible. When search on metadata is performed there should be possibility to make correspondent Feature layer visible on the map.

So the question is: what is the best way to publish Feature layers and metadata so they would be connected to each other? We do not want to publish each Feature layer as different service, because of amount of Feature layers.

Any ideas how to achieve this?

Kind regards,
Andzej

@andzejhelcom
Copy link
Author

I thouhgt I found a solution to connect each metadata with correspondent feature layer published on ArcGIS Server. But there seems to be a bug and I have no solution.

What I do is before publishing I edit metadata in ArcCatalog and mark that it is Online resource and add link to published on ArcGIS Server layer http://servername:6080/arcgis/rest/services/ForTests/TestMetadataService/MapServer/0

When I publish this metadata the link "Add to Map" appears in Geoportal. But when I click it the whole service is added to the map, not specified layer.

Is there a solution to add specific layer to map, not the whole service?

@zguo zguo assigned zguo and pandzel-zz and unassigned zguo Apr 13, 2016
@zguo
Copy link
Collaborator

zguo commented Apr 14, 2016

not sure if the issue is to the flex viewer or web app builder widget, for flex viewer, it will always add the service (layers can be turned on/off in the layer list), if it is to web app builder widget, it could be an good enhancement.

@pandzel-zz pandzel-zz assigned zguo and unassigned pandzel-zz Apr 15, 2016
@andzejhelcom
Copy link
Author

I think this issue is not Flex Viewer nor Web Appbuilder, but Geoportal itself, but I might be wrong. Published metadata is not connected to specified Feature layer within a service published on ArcGIS Server, but to a whole service.

Can it be fixed some how? I wonder if I can do it myself (I have some Java programming experience), just need to be pointed where I should look in Geoportal sourcecode to fix it.

@mhogeweg
Copy link
Member

check out this service catalog. the first item listed is a layer in an ArcGIS Server service that is the result of Geoportal Server harvesting the ArcGIS Server instance.

Select the preview link to see that we draw only this 1 layer. Click open to go to the layer page in the services directory on the server).

We should be able to configure for example ArcGIS Online map viewer to startup with individual layers like this example.

I'll add this as an enhancement for our 1.2.7 release.

@mhogeweg mhogeweg added this to the 1.2.7 milestone Apr 21, 2016
@zguo zguo assigned pandzel-zz and unassigned zguo Apr 21, 2016
@andzejhelcom
Copy link
Author

As I understand there are separate layers in this catalog service. But metadata are poor there, it seems metadata are generated automatically or takem from ArcGIS Server. As far as I know, I can't store metadata created with ArcCatalog on ArcGIS Server. So not sure if harvesting the ArcGIS Server will help me to solve the problem (find and add to map layer searching metadata).

I'm not familiar with harvesting. Could you, please, point me to right documentation on it, and I see if this is what we need.

@pandzel-zz
Copy link

Per Marten's request, I have added "Add to Map" link for any map service layer if the map is an ArcGIS online map viewer. In 'develop' branch now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants