|
POST
|
Chris, I guess there is an error in the Geoprocessing Package Wizard which isn't creating the GPK's correctly Well, the gpk file may be just fine, since ArcGIS 10.3 desktop should be able to consume your gpk. The problem is that ArcGIS Desktop and Local Server must be in sync, since ArcGIS for Server 10.2 is not aware of new tools added to the newer version of ArcGIS. Apart from that Viewshed2 is not supported in Runtime. See Local Server geoprocessing tools support—ArcGIS Runtime SDK for Java | ArcGIS for Developers Regarding ticket system, if you are currently on Esri maintenance, you can report it to Esri Support. Regards, Adam
... View more
02-11-2016
03:38 AM
|
0
|
0
|
2155
|
|
POST
|
I am glad it works as expected. Unfortunately, GeoTIFF (without world file) is not yet supported as local raster source in ArcGIS Runtime. Hope this is going to change as Quartz will be released. Regards, Adam
... View more
02-10-2016
10:09 PM
|
0
|
0
|
2211
|
|
POST
|
Hi Bertrand, I just want to say that the title is not precise enough. The service is published to ArcGIS for Server, isn't it? And then consumed in the thin client which is ArcGIS Online Map Viewer. The result is that the service is added or 'registered' with ArcGIS Online. Since ArcGIS Online does not host image services, you can't publish this type of services to this environment, that is why I found the tile misleading. Regards, Adam
... View more
02-10-2016
10:04 PM
|
0
|
0
|
2264
|
|
POST
|
I resolved my issue using ArcGIS 10.2.2 for gpk files creation. I recommend the same for you. Hope this helps, Adam
... View more
02-10-2016
04:39 AM
|
0
|
1
|
2155
|
|
POST
|
Chris, I experienced almost the same issue when I used ArcGIS 10.3+ for gpk file creation. There was an compatibility problem, that some of the geoporcessing tools were not recognized by runtime local server, which is still in version 10.2. What version of ArcGIS do you use for gpk creation? Adam
... View more
02-10-2016
02:56 AM
|
0
|
3
|
2155
|
|
POST
|
Hi Mohammad, that is why I suggested creation of aux.xml file associated with your tiff file. Inside xml file you will see definition of raster's coordinate system. This file is automatically saved by ArcMap, so you can examine it 's structure, by making a sample raster in your coordinate system. Regarding reprojection on the fly, According to the documentation it is not done automatically in ArcGIS Runtime. You need to test it. If the raster location is wrong, then I would try to use project method on RasterSource. See the sample; Add raster data—ArcGIS Runtime SDK for Java | ArcGIS for Developers Regards, Adam
... View more
02-09-2016
01:09 PM
|
0
|
2
|
2211
|
|
POST
|
Hi Chris, I also get the same error when trying to view the Service URL in a web browser. If I back track within the web browser to the GPServer branch, there are no tasks listed within the information. It seems that there is an issue with publishing .gpk file. First, I would try to get it running on AGS Site. Check if the Geoprocessing task was published with success (use REST end point and logs from AGS Manager). Make adjustments if necessary in ArcMap to the source gpk file. When it comes to the Local Service, check or set the internal port and enable logging (to be specified in ArcGIS Runtime Local Server Utility app) . Then, start your service, and check if it runs on the REST endpoint and finally the name of task. Hope this helps, Adam
... View more
02-09-2016
05:34 AM
|
0
|
6
|
2155
|
|
POST
|
Hi Sven, the only thing that comes to my mind is to add addLayerInitializeCompleteListener to all layers in your map. See the ArcGIS Runtime Samples - Layer Tree for sample usage. Regards, Adam
... View more
02-09-2016
12:21 AM
|
0
|
0
|
1442
|
|
POST
|
Hi, You can use TextSymbol and set offset accordingly. Another option is to use FeatureLayer (from SQLite local geodatabase), edit data with Labels set and enabled. I did not try the second approach, but it should work. Hope this helps a bit. Regards, Adma
... View more
02-08-2016
12:06 PM
|
2
|
0
|
976
|
|
POST
|
Hi, try this code to save world file: File writerWld = new File();
BufferedWriter writerWld = new BufferedWriter(new FileWriter(wld))) {
Integer mapheight = map.exportMapImage().getHeight();
Integer mapwidth = map.exportMapImage().getWidth();
Double coordHeight = (map.getExtent().getUpperLeft().getY() - map.getExtent().getLowerLeft().getY());
Double coordWidth = (map.getExtent().getUpperRight().getX() - map.getExtent().getUpperLeft().getX());
writerWld.write(String.valueOf(coordWidth / mapwidth));
writerWld.newLine();
writerWld.write("0.000000");
writerWld.newLine();
writerWld.write("0.000000");
writerWld.newLine();
writerWld.write("-" + String.valueOf(coordHeight / mapheight));
writerWld.newLine();
writerWld.write(String.valueOf((map.getExtent().getUpperLeft().getX())));
writerWld.newLine();
writerWld.write(String.valueOf(map.getExtent().getUpperLeft().getY())); I suggest you create aux.xml file as well. Regards, Adam
... View more
02-07-2016
10:31 PM
|
0
|
1
|
2211
|
|
POST
|
Hi Sven, To save current map view as an image I use exportMapImage method on JMap. Also, I add addMapEventListener to JMap and wait for mapReady event. This is pretty much my workflow. Hope, you find it useful. Adam
... View more
02-07-2016
10:09 PM
|
0
|
1
|
1442
|
|
POST
|
Hi Bertrand, It is great, you posted this short video. It must be very useful for many Esri software users. However, the title is misleading, since you just publish image serivce to ArcGIS for Server site and then, add it to ArcGIS Online map viewer. By the way, It would be great if AGOL, some day, will support image service publishing as well. Regards, Adam
... View more
02-04-2016
05:58 AM
|
0
|
0
|
2264
|
|
POST
|
HI, Well, there are some options: 1) Set labels for Feature Layer - setEnableLabels method 2) Make a use of TextSymbol for Graphic in Grpahic Layers Add graphics and text—ArcGIS Runtime SDK for Java | ArcGIS for Developers 3) Try to use MapTips Show MapTips—ArcGIS Runtime SDK for Java | ArcGIS for Developers Hope this helps, Adam
... View more
01-28-2016
12:44 AM
|
0
|
2
|
3218
|
|
POST
|
HI Colin, I recreated your tpk request. The REST API request page looks like: The resulting tpk is 34.6MB large. I added the file to ArcMap, and I could display it at all scales: Please, check your request parameters first. There must be something wrong there. Regards, Adam
... View more
01-07-2016
02:40 AM
|
0
|
1
|
1854
|
|
POST
|
Hi Colin, Open ArcMap (new blank document) and drag/drop tpk to the map window. ArcMap should automatically be zoomed to the extent of tpk. If it does not work, please answer the two following questions: 1) What is the size of downloaded tpk? 2) What is the area (coordinates) of the data you downloaded? Regards, Adam
... View more
01-05-2016
03:04 AM
|
0
|
3
|
1854
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-19-2024 12:19 PM | |
| 1 | 05-11-2016 06:36 AM | |
| 1 | 09-28-2023 08:17 AM | |
| 2 | 03-17-2021 12:09 PM | |
| 1 | 05-11-2016 10:40 PM |
| Online Status |
Offline
|
| Date Last Visited |
01-27-2026
04:05 AM
|