Select to view content in your preferred language

Advanced print solution

53465
296
02-19-2011 10:52 AM
TomSchuller
Frequent Contributor
Please find in the codegallery my first version of an advanced print solution:
http://www.arcgis.com/home/item.html?id=6809086326ea4c76bf026a32bb9dd698

The backend is developed in Java as a ServerObjectExtension: PChPrintSOE

The communication to the SOE is realized by the REST.
So, any client can be used Flex, Javascript, ...
I just created a simple FlexWidget.

Some features:
- full print over the rest api (usable by any client)
- export to pdf,jpeg,png,emf and mxd!
- view paper layout extent live on map
- make print on a "template" mapservice by keeping the predefined layout
- multi-mapservices/multi-server support
- add graphics on the map view positioned in map units
- add elements on the layout view positioned in paper units like scalebar, scaletext


The code is under full development:
- support for wms layer
- code clean up and reorganization

Any suggestions, remarques or help is welcome.

Live demo with public Esri mapservices (last print button):
http://gis.pch.etat.lu/flexViewerPrint/
   - use this print widget with your PChPrintSOE-enabled mapservices for high quality
   - draw first some graphics with the DrawWidget prior making your print (in mxd format)
Tags (2)
0 Kudos
296 Replies
TomSchuller
Frequent Contributor
Eric,
I updated the most recent downloads on the server.

Tom
0 Kudos
TomSchuller
Frequent Contributor
David,
could you try to create a new AGS-connection in ArcCatalog:
- start ArcCatalog
- GIS Servers
- add ArcGIS Server
- Use GIS Services
- Internet Server URL
      http://swarcgis001/ArcGIS/services
- Finish

You could also try to acces your REST-page:
http://swarcgis001/ArcGIS/rest/services/
Browse to a mapservice and click on top of the page to "View In: ArcMap"

Tom
0 Kudos
DavidCaussin
Deactivated User
Tom,

For the first thing, i can't create a "use gis server" connection. only a local  without problem.

For the test with arcmap, the mxd open with the map service but with the path problem 😞

Thanks
0 Kudos
TomSchuller
Frequent Contributor
Seems that you ArcGIS server isn't well configured. You should try to run the PostInstallation again and/or check your firewall and WebServer settings.

Tom
0 Kudos
DavidCaussin
Deactivated User
I think too that it is a problem from the settings (firewall or other) but i dont exactly what to search
0 Kudos
TomSchuller
Frequent Contributor
You should post this to the specific forum:
ArcGIS Server Java or .NET

Tom
0 Kudos
EricVenden
Frequent Contributor
Eric,
I updated the most recent downloads on the server.

Tom


Tom,
Has the code changed from the beta I downloaded?
Thanks
Eric
0 Kudos
TomSchuller
Frequent Contributor
There are some minor bug fixes.

Tom
0 Kudos
EricVenden
Frequent Contributor
Tom,
I have attached the generated mxd from the print as well as the pdf.  You will notice that in both, the TOC/legend contains the parcel lines feature, but does not include the actual parcel lines.  The particular service that is being left off the print is named: Parcels.  This map service contains numerous layers, some of which I have coded to be left off the legend.  ThereIf you need the URL from the the print let me know.
Thank you for your time.
Eric
0 Kudos
TomSchuller
Frequent Contributor
Eric,
yes please provide the url.

Tom
0 Kudos