|
POST
|
Thanks David, Kevin. The whole idea behind the ExportWebMap is that you have map (composed of mapservice, featuresure, graphics etc.) on your web app and you want that map to be printed by exporting it out to a pdf or any other format first. Since your web applications does not need to have mapping component, it seems like a custom arcpy.mapping based Geoprocesing service might be a viable solution. Before I can suggest anything specific, I'd appreciate if you could answer the following questions: 1. do you plan to use map service layer(s) in the map document that you want to be exported out to pdf?, OR 2. is it that you have an existing mxd containing all layers pointing to local datasets (e.g. in a fgdb, shapefile, sde etc) that you want to open, zoom into the extent of a feature and export to a pdf? Kevin: 3. in your report, how do you know what extent the map needs to be zoomed at? is that like your web app knows the extent always and you are planning that to be sent to the ExportWebMap task? Please keep in mind that ExportWebMap task in PrintingTools service currently does *not* support returning multi-page pdf - it is always single page. If you need to return multi-page pdf, then you need to go with a custom solution. A side note: arcpy.mapping.ConvertWebMapToMapDocument, as the name suggests, takes the same webmap_json that ExportWebMap task takes and returns a MapDocument objects that you can then export to any format supported using arcpy functions.
... View more
08-29-2012
11:39 AM
|
0
|
0
|
2320
|
|
POST
|
Hugo, Our apology for the inconvenience caused by this bug which makes a mapserice work the opposite way for schema-locking. We are working on fixing this. Please change the value of schemaLockingEnabled to True - this should do it.
... View more
08-24-2012
10:57 PM
|
0
|
0
|
751
|
|
POST
|
You are right, unfortunately this is a limitation of the Printing Service when the output type is a vector format such as PDF or SVG. Good news is that there is a workaround. log onto your server as ArcGIS Server Account user set the default printer's page size something that is larger than the size of the layout of your choice. restart ArcGIS Server service for more information please read this KB article which targets the Desktop, but it is the same that affect the Printing Service - Bug: Inserted images and objects fail to draw on export or print
... View more
08-24-2012
04:45 PM
|
0
|
0
|
3436
|
|
POST
|
You should use one of ArcGIS Web APIs' (JavaScript, Silverlight or Flex) PrintTask in conjunction with PrintingTools service from your web app. Is you application a web app or desktop app?
... View more
08-24-2012
03:42 PM
|
0
|
0
|
2320
|
|
POST
|
here is the correct syntax: { "source": { "type": "dataLayer", "dataSource": { "type": "table", "workspaceId": "MyDatabaseWorkspaceIDSSR2", "dataSourceName": "egdb.DBADMIN.USLakes" } } }
... View more
08-24-2012
08:32 AM
|
0
|
1
|
811
|
|
POST
|
Since the backend RDBS is SQL Server, I'd ask to create a Database Connection to your database using ArcCatalog @ 10.1. Once you do that you'd see the table listed in the Catalog window, just drag-drop that in ArcMap and create XY Event layer from that table.
... View more
08-24-2012
08:18 AM
|
0
|
0
|
889
|
|
POST
|
Unfortunately it seems like the JSON attached to the post is incomplete. Besides that, here are few issues that I have noticed: I don't see "mapOptions" element where "scale" and "extent" should go atleast "operationalLayers" or "baseMap" needs to be there Quick question: how are you generating the JSON? Are you using any of ArcGIS Web APIs (java, flext or silverlight) or you are generating it programatically? In case you use ArcGIS Web API, please use PrintTask and you don't need to worry about generating this JSON. If it is the later case, then please check Web_Map_as_JSON's specification here: http://resources.arcgis.com/en/help/rest/apiref/gp_exportwebmaptask.html
... View more
08-24-2012
08:12 AM
|
0
|
0
|
606
|
|
POST
|
Geoprocessing & some other types of services at 10.1 support 'upload' capability. here is the REST API help on this topic: http://resources.arcgis.com/en/help/rest/apiref/uploads.html here is a blog post which show how you can take advantage of that http://blogs.esri.com/esri/arcgis/2012/06/01/uploading-client-data-to-perform-thematic-mapping-on-the-server/
... View more
08-22-2012
08:33 AM
|
0
|
0
|
1181
|
|
POST
|
MapService's REST API does not allow passing in client-side graphics as a parameter to it's export operation. May I know what exactly you want to do? Thanks.
... View more
08-22-2012
08:22 AM
|
0
|
0
|
933
|
|
POST
|
That is, I believe, only possible, if the geometry is stored in the database's native spatial format (e.g. SQL Server's Geometry/Geography, or Oracle's SDO etc.). In that case, you need to send a sql query that conforms to the underlying database's syntax (not quite sure whether all databases follow the same syntax or different). The workaround that would work regardless of underlying database is to pass in a search geometry to find all points that intersects or is contained within the search geometry.
... View more
05-22-2012
04:01 PM
|
0
|
0
|
442
|
|
POST
|
you should not see this issue with the Final release.
... View more
05-15-2012
12:45 PM
|
0
|
0
|
714
|
|
POST
|
At 10.1, 'dynamicLayers enabled mapservice' supports defining label for a layer within a mapservice per request basis.
... View more
04-19-2012
07:52 AM
|
0
|
0
|
534
|
|
POST
|
what I meant was if you have a layer and bunch of tables in a mapservice, you can join any of those tables to the layer on-the-fly and draw features based on attribute value from the joined table. Also, please note that a layer or table can be directly accessed from a workspace (don't need to add them in the map at the authoring time) as long as the workspace is 'registered' to the mapservice. The sample that you've provided shows an example on how you can take advantage of ArcGIS server side functionality to generate class breaks renderer without writing much code on the client side.
... View more
02-07-2012
10:20 PM
|
0
|
0
|
865
|
|
POST
|
it is supported at 10.1. http://resourcesbeta.arcgis.com/en/help/rest/apiref/dynamicLayer.html
... View more
02-03-2012
06:36 AM
|
0
|
0
|
865
|
|
POST
|
Just make both origin and destination layer/table exist in the mxd. If one of them is missing, that relationship will not be advertised by a mapservice.
... View more
02-01-2012
06:21 AM
|
0
|
0
|
728
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 1 | 10-23-2025 03:46 PM | |
| 1 | 08-21-2025 11:11 AM | |
| 1 | 07-30-2025 01:43 PM | |
| 1 | 07-02-2025 11:07 AM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|