Display Schematic Diagrams

327
2
06-15-2011 03:25 AM
Stefan_Arndt
Esri Contributor
Hello everybody,

i'm not sure if this post fits to the Schematics-Forum or in the Flex-API-Forum or in the ArcGIS Viewer for Flex-Forum, so i decided to put it here.

I'm using the Flex-Viewer for an WebGIS with some functionalities. One of them is to generate schematic Diagrams with a Geoprocessing Service.
After developing this Widget & GP-Service, the process is working and i can generate the diagram. It is saved in a Schematic Dataset on the Server.
Is it possible to show this schematic diagram in the FlexViewer? In a Popup or within the widget would be the best solution, but i'm not sure if it's possible,

Currently i have just one idea:
I can convert this diagram to Features and display this new Features as Layers.

Are there other / better possibilities?

In the Sample Gallery, API-Documentation and other Forums i sadly can't find Examples with Flex and Schematics.

Best regards,
Stefan
Tags (2)
0 Kudos
2 Replies
RickAnderson
Occasional Contributor III
For ArcGIS 10 and below, the convert is the best thing to do, then you have another service that is publishing the converted features.  Remember that you can convert multiple diagrams into the same set of converted feature classes.  Then when you want to display one of those diagrams, you just need to apply a definition query on the published layers (diagramobjectid=?).

At 10.1, a schematic diagram is fully recognized on server, and is a REST endpoint.  There is also a Schematic Server Object Extension.  So you have a map service published and you have a schematic service published.  When you generate a diagram, a new end point is available on the schematic service.  Now you can pop-up viewers etc... basically a map and tell it to display a particular diagram with something like this:
http://schematics64:6080/arcgis/rest/services/Westerville/MapServer/exts/SchematicsServer/diagrams/0...
0 Kudos
Stefan_Arndt
Esri Contributor
Thank you very much!

It's always gratifying when i see that there is an answer from you to one of my questions 🙂
0 Kudos