0

I'm using OpenLayers 2 to display ESRI WMS data (ArcGIS93Rest layers).

The data I'm displaying contains symbols (and sometimes labels) and I'd like to increase the display size of these symbols (and corresponding labels).

An example of the data being displayed can be found here.

And the web service for that data can be found here.

Is it possible to adjust the symbol/label size on my end?
Or am I stuck with the symbol size provided by ArcServer?

0

ArcGIS93Rest is for an ESRI export service (note MapServer/export). You are using an ESRI Feature service. You could obtain the meta data and use the query service to roll your own feature layer solution.

OBTAIN META DATA

http://ocean.floridamarine.org/arcgis/rest/services/Projects_Other/OFR_Vector/MapServer/42?f=pjson

QUERY FOR FEATURES

http://ocean.floridamarine.org/arcgis/rest/services/Projects_Other/OFR_Vector/MapServer/42/query

A simpler approach might be to publish this service as WFS and define all the styling yourself (via a symbolizer) and use an OpenLayers WFS layer.

  • Thanks @ca0v, I'm not able to publish the service myself. I am currently using the export service. Are you suggesting I use the feature service instead? (Implying I would then have control over styling the features myself.) – sfletche Sep 9 '14 at 17:14
  • My mistake; I didn't see the export link and assumed it was a feature service. But yes, that is what I was suggesting. The export service will only produce imagery; I believe you want to control how these point features are rendered so do that with a symbolizer. – ca0v Sep 11 '14 at 12:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.