|
POST
|
The statement "supports Java Development Kits 6 update 37 through 7 update 9" should probably be reworded slightly. To explain why we state these JRE/ JDK versions, when we test a new release we take the latest available versions of Java 6 and 7 and certify against those versions. 10.1.1 was certified against 6u37 and 7u9. These were the most up to date versions at the time we were testing late last year. New releases of Java come out all the time to fix bugs and plug security holes and theoreticaly this should not cause a problem with the Runtime. I can't however guarantee that a new Java bug or security issue has been introduced in their latest release which may affect Runtime functionality. I'm also using 7u11 and so far I've not seen any issues. I hope this helps. Mark
... View more
01-23-2013
01:27 AM
|
0
|
0
|
1554
|
|
POST
|
Hi J.T. I can't see exactly what you are trying to do but let me try to give you some information. Firstly lets look at the difference between ArcGISDynamicMapServiceLayer and ArcGISLocalDynamicMapServiceLayer: - The ArcGISDynamicMapServiceLayer is a layer which is for consuming online data where the datasource might be coming from your ArcGIS Server or ArcGIS Online. The constructor takes the URL for the service (a rest end point). This is data you use in a network connected environment. - An ArcGISLocalDynamicMapServiceLayer layer is for consuming local data where you might not have network connectivity. The constuctor for this class takes a path to your .mpk file. The .mpk file is a map package which you will have published from ArcGIS Desktop. Beyond the above differences they are much the same once added to the map. The above explanation applied for both Java SE and WPF. Now in your code samples you are working with Dynamic Workspaces. These can be used for altering the content of a local map package on the fly. For example, you might have an .mpk to which you want to add a shapefile. If this is what you are trying to do I would take a look at the Sample Application which comes with the API. We have a code sample which shows you how to add a shapefile. This was added to the sample application at the 10.1.1 release. Does this help? Regards Mark
... View more
01-22-2013
12:56 AM
|
0
|
0
|
1110
|
|
POST
|
Hi Stefan, If you switch to using the new release 10.1.1 we have implemented a new selection capability for graphics which I think does what you are after. When you select a graphic it adds a halo around it. So adding to the code we looked at yesterday to create a text symbol, you can select a graphic (which adds a halo) like this: //select the highlight color (if you don't it defaults to cyan) labelsGL.setSelectionColor(Color.green); //select the graphic so it has a halo labelsGL.select(labelID); [ATTACH=CONFIG]20829[/ATTACH] Hope that helps Mark
... View more
01-18-2013
12:14 AM
|
0
|
0
|
1856
|
|
POST
|
This post has been moved from the ArcGIS Runtime forum... can anyone help with this?
... View more
01-17-2013
06:56 AM
|
0
|
0
|
714
|
|
POST
|
Internally the API renders Chem Lights using a unique value renderer. Therefore this does not support labels out of the box. The other symbols for 2525C use a DictionaryRenderer which as you point out accept a Unique Designation which is your labelling item. If you want to have a label for a Chem Light, then you will need to render your own using a TextMarker in a graphics layer. The following code shows how this can be done. //graphics layer for labels GraphicsLayer labelsGL = new GraphicsLayer(); map.getLayers().add(labelsGL); //Make a graphic for the label TextSymbol labelSymb = new TextSymbol(12, "ABC", Color.blue); Point labelLocation = new Point(2191602.87,626172.13); Graphic labelGraphic = new Graphic(labelLocation, labelSymb); //add graphic to the graphics layer labelsGL.addGraphic(labelGraphic); You will of course need to consider how you place your labels. The location of the point may need to change slightly according to the zoom level of the map if your label is offset from the location of the chem light. So in conclusion it's possible,but it might involve a little more work than expected.
... View more
01-17-2013
12:33 AM
|
0
|
0
|
1856
|
|
POST
|
I've tested this against our internal release candidate for the next release and I can confirm: - Hit tests work (getGraphicIDs supplying x and y screen location) against graphics layers in a message group layer. The bug reported in release 1.0 throws a Null Pointer Exception. It now returns graphics ids. - The highlight now also works for these symbols. There is a special message type for highlighting or you can set a graphic to highlighted. The next release is going to be numbered 10.1.1 (aligning with other products) and is going to be available quite shortly. We are currently going through a QA process, so please watch this space.
... View more
01-15-2013
03:46 AM
|
0
|
0
|
2452
|
|
POST
|
Yes I agree this looks like a bug in the API. I've seen a very similar issue in another area of the API (Message Processor releated) which I believe was fixed in time for the next release. I'll confirm this and let you know what I find.
... View more
01-14-2013
10:59 AM
|
0
|
0
|
2452
|
|
POST
|
ODCostMatrix is a geoprocessing (GP) tool available in ArcGIS Desktop. In order to use this tool in a different client you would go through a workflow similar to: - Using Model Builder or a python script create a model which uses your GP tool. e.g. ODCostMatrix - Publish the tool either to ArcGIS Server or to a geo-processing package - Write an application to consume the published tool. If you are using the Runtime API for Java SE (this should not be confised with arcObjects based solutions like ArcGIS Engine) when you might write some code like this: // create a geoprocessor Geoprocessor geoprocessor = new Geoprocessor(url of endpoint with your tool); // provide input arguments List<GPParameter> gpInputParams = new ArrayList<GPParameter>(); gpInputParams.add(<appropriate instance of GPParameter>); // repeat for each input parameter // run geoprocessing task and process result // one of the options to run the geoprocessing task geoprocessor.executeAsync(...); You will note that I've suggested using executeAsync where you need to wire up an event handler for when the process completes. This allows your application to remain responsive whilst the GP tool is running. If you look in the sample application which comes with the SDK we have several examples showing you how to execute local and server based GP tools.
... View more
01-10-2013
12:32 AM
|
0
|
0
|
714
|
|
POST
|
This file isn't part of the runtime product. The Runtime isn't based on ArcObjects as it's a new product build from the ground up. The arcobjects.jar I believe is part of the ArcGIS Engine SDK which can be downloaded via your EDN account. If you are about to start on a new project, I would however encourage you to consider using the ArcGIS Runtime SDK instead which is where the main focus of our development work is happening for desktop / mobile based applications. Let me know what you are trying to do and I'll see if I can point you in the right direction. Mark
... View more
01-04-2013
02:34 AM
|
0
|
0
|
941
|
|
POST
|
You can of course check the type of Symbol in a Graphic. So for example if you have created a Polygon graphic with a simple fill symbol you can check this as follows: //get symbol test Symbol symb = complexPolyGraphic.getSymbol(); //is it a simple fill symbol? if (symb instanceof SimpleFillSymbol) { System.out.println("this is a simple fill symbol"); } Alternatively if you had a Mil-std-2525c graphic you could check this by using the following code: //get graphic Graphic graphic = mgl.getMessageProcessor().getGraphic("52853229-1e87-47b2-abca-07a1a1b991dd"); //get the symbol type for the graphic Symbol milSymb = graphic.getSymbol(); //is this a multi layer symbol? if (milSymb instanceof MultiLayerSymbol) { System.out.println("this is a multi layer symbol"); } So although the MultiLayerSymbol cannot be user created (only the message processor internals can do this), you can at least see the type of symbol being used by the graphic.
... View more
01-04-2013
02:10 AM
|
0
|
0
|
3132
|
|
POST
|
I'll see what we can do for a future release. I agree this would be easier control if it could be done in the API. The other attributes "minLabelScale" and "maxLabelScale" are for controlling the scales at which your labels are visible. Regards Mark
... View more
01-04-2013
01:49 AM
|
0
|
0
|
1529
|
|
POST
|
Each Graphic has a symbol. If you have a graphics layer and you add some Polylines then you are likely to use a SimpleLineSymbol. If you have points in a graphics layer, you might use a SimpleMarkerSymbol. Internally the message processor uses MultiLayerSymbols, but there isn't anything you can do with these in the API. It's just been put there to allow future developments.
... View more
01-03-2013
07:33 AM
|
0
|
0
|
3132
|
|
POST
|
There isn't a method of achieving this in the API at the moment (maybe we should consider this for a future release). However there is a workaround, you can apply: In the runtime folder there is a file called .\resources\symbols\app6b\messagetypes\positionreport.json The file contains an entry for the symbolScaleFactor which you can edit (with great care). I would discourage you from changing any other values in this file. { "type": "position_report", "layerName": "position_reports", "renderer": { "type" : "dictionary", "description" : "", "dictionaryType" : "APP6B", "field" : "sic", "symbolScaleFactor" : 1.0, "labelsVisible" : true, "minLabelScale" : 10000000, "maxLabelScale" : 0 } } Does this help?
... View more
01-03-2013
06:57 AM
|
0
|
0
|
1529
|
|
POST
|
We currently don't have a composite symbol in the API. If I can gather requirements then this can be considered for a future release. At the moment graphics (of all supported types) can be contained in a graphics layer. A graphics layer can be contained either in a group layer, or directly in a JMap control.
... View more
12-24-2012
01:25 AM
|
0
|
0
|
3421
|
|
POST
|
The purpose of the MultiLayerSymbol is only to identify the type of graphic used in the symbology we use for Mil-Std-2525C graphics. If you are working with graphics layers then in addition to SimpleMarkerSymbols have for example: - PictureMarkerSymbols - Polylines - Graphics Can you give me more detail of what you are trying to achieve?
... View more
12-24-2012
01:14 AM
|
0
|
0
|
3132
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-12-2026 01:35 AM | |
| 2 | 05-07-2026 06:59 AM | |
| 1 | 08-13-2024 05:17 AM | |
| 1 | 07-10-2024 01:50 AM | |
| 1 | 04-22-2024 01:21 AM |
| Online Status |
Offline
|
| Date Last Visited |
05-13-2026
06:46 AM
|