POST
|
Did you ever get solution for this? We ran into situation where once querylayer that worked adequately is now making arcmap unresponsive and rendering takes upto 1200 seconds per refresh. I think arcmap is doing somekind of full table scan on the data on almost every pan of the map and as it is based on versioned views it takes a looong time to both fetch and draw the data. -> We are moving to precalculated materialized views.
... View more
10-02-2019
08:57 PM
|
0
|
0
|
686
|
POST
|
I ran into same problem which is the distance being inaccurate. I live in Finland and it is roughly double the distance wrong - and indeed cos 62 is ~0.47. It would give roughly correct distance. It CAN'T be intended to work like this? I queried our local dealer and they should send it as a bug. Unless your article gets noticed here (it should)
... View more
07-23-2016
10:41 PM
|
0
|
0
|
318
|
POST
|
Update: It actually seems like there is a "bug" in the implementation of the wmtsserviceinfo fetch functionality: the wmts service I want to fetch is some kind of dynamic web service and not static xml file. If I download the output (which is xml) with wget i get the xml (with "wrong" name though) and if I copy it as xml file to another web server and use that in wmtsserviceinfo, it works fine. Except of course that I can't make it show anything, but it goes forward from the bad request. the same output as file in my own website: http://www.ronkko.fi/capa.xml I will report this via the official esri channel as a bug unless I get some tips here how to circumvent this. Perhaps it gets fixed eventually. Unfortunately for me I can't continue before the fix as I don't have way to have effect in the wmts server owner.
... View more
07-02-2016
11:36 PM
|
0
|
1
|
1174
|
POST
|
Thanks for the example! Anyhow I still can't open the wmts service I provided with the same code. The service in ther e works in Arcmap so it should be ok. It gives EsriServiceException "Bad request" on fetch - with your link it works. Do you have any hints how to continue and what could be wrong? Tero
... View more
07-02-2016
06:24 AM
|
0
|
0
|
1174
|
POST
|
Hi, this is the source for the wmts: https://julkinen.liikennevirasto.fi/rasteripalvelu/wmts?request=getcapabilities I tried that example (will try again and report results) but if I understand correctly I run in to networkonmainthreadexception which basically means that I would need to do that fetch somehow on another thread? With other layer types just adding it to the map seems to be enough.
... View more
06-30-2016
05:44 AM
|
0
|
4
|
1174
|
POST
|
Does anyone have experience working against OGC WMTS services with Android Runtime SDK? Do you have example somewhere you could share? I am having trouble understanding how to go on with these as they don't seem to work as the other layer types. T
... View more
06-29-2016
10:50 PM
|
0
|
7
|
4918
|
POST
|
Your description of the problem is somewhat vague... do you mean you want to be able to use device GPS to locate yourself on map? You need to use LocationDisplayManager - here is some code from my app // In case you need it later, make it class variable LocationDisplayManager lDisplayManager = null; // ... inside onCreate(), after your .addlayers mMapView.setOnStatusChangedListener(new OnStatusChangedListener() { @Override public void onStatusChanged(Object source, STATUS status) { if (source == mMapView && status == STATUS.INITIALIZED) { lDisplayManager = mMapView.getLocationDisplayManager(); lDisplayManager.setAutoPanMode(LocationDisplayManager.AutoPanMode.LOCATION); lDisplayManager.setLocationListener(new LocationListener() { boolean locationChanged = false; // Zooms to the current location when first GPS fix arrives. @Override public void onLocationChanged(Location loc) { if (!locationChanged) { locationChanged = true; double locy = loc.getLatitude(); double locx = loc.getLongitude(); Point wgspoint = new Point(locx, locy); Point mapPoint = (Point) GeometryEngine .project(wgspoint, SpatialReference.create(4326), mMapView.getSpatialReference()); Unit mapUnit = mMapView.getSpatialReference() .getUnit(); double zoomWidth = Unit.convertUnits( 5, Unit.create(LinearUnit.Code.MILE_US), mapUnit); Envelope zoomExtent = new Envelope(mapPoint, zoomWidth, zoomWidth); mMapView.setExtent(zoomExtent); } } @Override public void onProviderDisabled(String arg0) { } @Override public void onProviderEnabled(String arg0) { } @Override public void onStatusChanged(String arg0, int arg1, Bundle arg2) { } }); // Actionlistener lDisplayManager.start(); } } } if (source == mMapView && status == STATUS.LAYER_LOADED) { } } } }); There might be some extra } or { as I copy pasted it from the code and had to remove some special stuff related to our app. HTH.
... View more
06-25-2015
09:45 PM
|
0
|
1
|
1141
|
POST
|
Hi, yes, ESRI basemaps require internet connection so that is not option for you then. Can you successfully draw points over the shapefile? And which spatial reference are you using on the layer? You can test that by getting getSpatialReference() from mapview – from that make sure your coordinates are of the correct type. Are you running this on the emulator or on the device? T
... View more
06-10-2015
11:55 PM
|
1
|
1
|
523
|
POST
|
In what function are you calling that? Try this: declare your graphics layer on activitylevel, initialize it and add it to maplayer after your shapelayer. Then after you make sure the map has been initialized, add that line to that graphicslayer. You can change the layer and it will show up on the map, no need to add the layer after changing. And remembver that all coordinates must be in same coordinate system - if your shape uses any other than WGS(?) then those coordinates will go somewhere weird. Check if you can draw the line over base esri map without shapefile.
... View more
06-09-2015
10:19 PM
|
0
|
3
|
523
|
POST
|
I am not sure what you are asking - do you want to catch event that happens WHEN the user presses that button? or when the magic happens? ArcObjects 10 .NET SDK Help
... View more
05-14-2015
10:32 PM
|
0
|
3
|
359
|
POST
|
[Unfortunately] I don't think there is any feasible way to make ArcMap created databases and content editable. For me services pattern was too annoying and I went on with adding Spatialite database to my project - They are editable but of course you have to write your own handlers for editing and showing your data on the map. (Reasons: Services way doesn't support complex enough relationships for our organizations needs and you must use new ArcGis server or ArcGis online for serving that data. We want this app to be desktop-pda-desktop, not Desktop-[adminperson]-Server-[gisexpert]-Pda-Server-[adminperson]-Desktop. And we also wanted it to be fully offline-able.
... View more
04-26-2015
09:32 PM
|
0
|
1
|
177
|
POST
|
(Self reply) zoomToScale seems to work fine for what I am using - mMapView.zoomToScale(point, 10000); zooms to 1:10000 mapscale. It just wan'st obvious from the documentation.
... View more
04-23-2015
10:30 PM
|
1
|
0
|
727
|
POST
|
Are you using Geodatabase created as replica from online service? If you are using geodatabase created with ARcmap as runtime content it will not work at all - the database is readonly.
... View more
04-23-2015
10:27 PM
|
0
|
5
|
881
|
POST
|
Hi, what is the difference on these and what do the parameters mean actually: zoomToScale(Point centerPt, double scale) zoomToResolution(Point centerPt, double res) zoomTo(Point centerPt, float factor) What is scale, resolution and factor respectively? I know factor zooms by some factor from the currentlyu active zoom level but what should I give to resolution or scale? I am working on offline TPK files and trying to zoom to certain point on certain level but can't figure out proper inputs. Thanks!
... View more
04-15-2015
12:01 AM
|
0
|
1
|
4681
|
Title | Kudos | Posted |
---|---|---|
1 | 02-06-2015 12:16 AM | |
1 | 02-06-2015 03:40 AM | |
1 | 04-23-2015 10:30 PM | |
1 | 06-10-2015 11:55 PM | |
1 | 02-26-2015 02:44 AM |
Online Status |
Offline
|
Date Last Visited |
10-25-2021
04:30 AM
|