|
POST
|
Geoff, There is no such method in 10.2.4, neither at 100.0.0 (but you can add mobile mosaic dataset). So, you need to iterate through each raster in the directory. Regards, Adam
... View more
03-13-2017
11:26 PM
|
0
|
4
|
1579
|
|
POST
|
Kamil, First of all, can you provide details regarding your development setup? What version of runtime do you use? Do you host your MapService on ArcGIS Server instance or Local Server instance? Regards, Adam
... View more
03-12-2017
11:42 PM
|
0
|
0
|
752
|
|
POST
|
Neil Ayres made good point regarding the arguments order. Also, insure that your map spatial reference is 4326, since you project the point to this wkid. Last time you mentioned going to switch back to World Street Map which is in 3857 (102100) wkid. 竹丰 刘 napisał(-a): AND the code: jMap.setExtent(new Envelope(-15967900, 1670500, -6360000, 8079000)); the function of this line of code is to set the map-view to Include all the amerian-map. AND I really want to know those number(-15967900, 1670500, -6360000, 8079000) how to create. if those numbers is transformed by Latitude and longitude,please tell how turn Latitude and longitude to those number These seem to be coordinates in 102100 WKID. You can project polygon geometry to this wkid using GeometryEngine.project as well. You just need to create new polygon. I highly recommend you read the guide to ArcGIS Runtime 10.2.4 which really good starting point. Also you can examine the runtime samples where you can find plenty of useful hints regarding extents, geometry and coordinate systems. Regards, Adam
... View more
03-06-2017
10:38 PM
|
0
|
1
|
969
|
|
POST
|
Hi Kason, As far as I know, ArcGIS Runtime 100.0.0 supports reprojection (not datum transformation) of raster by default. You just need to ensure both map and raster spatial reference's datum are the same and layers should align correctly. Hope this helps, Adam
... View more
03-04-2017
01:03 AM
|
0
|
4
|
1394
|
|
POST
|
Hi Edgar, This is because the selected basemap consists of two layers: Base (Background) and Reference (Labels). You can examine these using basemap item definition. Hope this clarifies your concern, Regards, Adam
... View more
03-02-2017
10:39 PM
|
0
|
1
|
1081
|
|
POST
|
maybe i should to only use the basemap(which its url is World_Street_Map (MapServer) )and not to use the shapefiles - GOOD IDEA 🙂 Adam
... View more
03-01-2017
03:24 AM
|
0
|
4
|
969
|
|
POST
|
Hi, The shapefile is not corrupted (Please remove the first dot (.) in the file name, there should be gisosm_roads_free_1 instead of gis.osm_roads_free_1) and the code is almost perfect - you should not use unique value renderer in this case, since there are too many values, which you do not actually add. Also, the rendering time of the whole shapefile on my machine is about 2 minutes - far too long. When I created a subset of shapefile the rendering is almost instantaneous. I suggest you do not display the whole shapefile, you can use Local Tiled Layer for display purposes. Here is the valid code of the createMap() function: private JMap createMap() { // map JMap jMap = new JMap(); ArcGISTiledMapServiceLayer basemap = new ArcGISTiledMapServiceLayer(BASEMAP_URL); basemap.setOpacity(0.5f); jMap.getLayers().add(basemap); // Add shapefile try { shapefileTable = new ShapefileFeatureTable("C:\\tmp\\gisosm_roads_free_1.shp"); featureLayer = new FeatureLayer(shapefileTable); // create a renderer SimpleRenderer simpleRend = new SimpleRenderer(new SimpleLineSymbol(Color.RED, 2.0f, SimpleLineSymbol.Style.SOLID)); // set renderer featureLayer.setRenderer(simpleRend); jMap.getLayers().add(featureLayer); } catch (FileNotFoundException e) { JOptionPane.showMessageDialog(jMap, wrap(e.getLocalizedMessage()), "",JOptionPane.ERROR_MESSAGE); } return jMap; } Hope this helps, Adam
... View more
03-01-2017
12:47 AM
|
0
|
6
|
2544
|
|
POST
|
HI, The only way I can help you is that you post your project code and input data. I will see what is wrong there. Regards, Adam
... View more
02-28-2017
10:39 PM
|
0
|
8
|
2544
|
|
POST
|
Other way is to use ArcGIS for Server Map Service with Feature Access Enabled. Add MapService and FeatureService (transparent). Edit Feature service, Map Service is for display only. There is no better way to do so, according to my knowledge. If you find something betterm please share it.
... View more
02-28-2017
06:39 AM
|
0
|
0
|
856
|
|
POST
|
HI, The only option I know so far, is to create .tpk file in ArcMap and publish it as hosted tile layer on ArcGIS.com. If you need attributes as well, share your data as hosted feature service and set transparency accordingly Regards, Adam
... View more
02-28-2017
06:26 AM
|
0
|
2
|
856
|
|
POST
|
HI, Have you used Define Projection tool to re-create valid .prj file? If not, you have to do so. Apparently, there is still issue with your shapefile. Also, you should add the same shapefile to ArcMap and see if the warning about unknown spatial reference pops up. Regards, Adam
... View more
02-22-2017
10:36 PM
|
0
|
10
|
2544
|
|
POST
|
Hi, Login to developers.arcgis.com and just select 'Redeem Voucher' Regards, Adam
... View more
02-20-2017
11:20 PM
|
1
|
1
|
1673
|
|
POST
|
Hi, the simplest answer is to remove unnecessary field from the shapefile schema. Follow this guide: Deleting fields—Help | ArcGIS for Desktop. Also, you can try to query shapefile setting output fields in the QueryParameters- that should work too. Hope this helps, Adam
... View more
02-20-2017
12:25 AM
|
0
|
2
|
975
|
|
POST
|
Hi, First of all, the attached shapefile does not have correctly spatial reference specified (wrong .prj file). As the shapefile's name states, it is WKID 3857 - that is Web Mercator Auxilliary Sphere. You need to Define Projection (as WKID 3857) and Project data to Basemap spatial reference which is WGS-1984 (WKID 4326) using ArcGIS Desktop or any other GIS tool. Check out this blog: When to use the Define Projection tool and the Project tool? | Support Services Blog for further guidance Next, you have two options: 1) Use ShapefileFeatureTable, then both Basemap and Shapefile spatial refences need to be the same. If not, shapefile is not displayer or misaligned. 2) Use LocalService's Dynamic Workspace (not recommended) LocalServer can project the data on-the-fly. Check out ArcGIS Runtime Sample App for 10.2.4 - Dynamic workspaces: shapefile for assistance. Hope this helps, Adam
... View more
02-20-2017
12:21 AM
|
1
|
12
|
2544
|
|
POST
|
Hi, Have you installed Eclipse Plugin? Install the Eclipse plug-in—ArcGIS Runtime SDK for Java | ArcGIS for Developers You should be able to run the application. You just may want to remove ArcGISRuntime import since it has not been used. Also initialize JMap as an instance variable, that is: map = new JMap();, in order to being able to close the app. Also make sure that you can create ArcGIS Runtime Java Map Application (File > New > Project > ArcGIS Runtime Java Map Application). Hope this helps, Adam
... View more
02-14-2017
05:24 AM
|
0
|
0
|
819
|
| 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 |
03-22-2024
10:35 PM
|