POST
|
I have a polygon Feature Layer in the ArcGIS Online Portal that has labels. The labels will display fine if nearly the full feature is within the extent of the map view. However if I zoom in the label will disappear. If I pan to roughly the center of the feature, I will see the label, but anywhere other than the center I will not. This can be demonstrated by using the states map service. https://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/2 If you create a Feature Layer using this service, label it using the name at all scales, then add it to a .Net Runtime (100.6) Map, once you zoom in to around the City level the labels disappear. The same thing happens in the AGOL Map Viewer, and various Map Templates. How can polygon labels be displayed so they show at all scales, if you're not looking at the centroid of the polygon?
... View more
09-12-2019
08:50 AM
|
2
|
3
|
1327
|
POST
|
It would be helpful to include this option in the samples, as I think most people would expect LoadAll to be the default.
... View more
12-08-2017
02:45 PM
|
0
|
0
|
1056
|
POST
|
In the Local Government Information Model (LGIM) what is the difference between the GeopoliticalArea FC and the Landbase FC. The description for GeopoliticalArea is "The geographic extent of a political governance area or civil area..." which certainly sounds like it should be used for something like a city boundary. Most of the attributes agree. However, the is an Effective Date, End Date, and Source Reference. Again, for a city this would be perhaps the incorporation date, dissolved date (which is very rare), and a reference to the city charter? This seems an obscure need for city boundary. So perhaps this should be used for something more like annexations? That way you would know when what part of the city became a city and a link to the document that enabled it. The description for Landbase is "A polygon that represents the extent of the cities land base and used to author multi-scale basemaps." This to sounds like the something like the city boundary, but perhaps with different levels of detail. But then why isn't there a field for describing at what scale the polygon should be used at? Or instead of the actual boundary, it is to represent more of the urban or built-up area? So what is the difference between GeopoliticalArea and Landbase? Where do annexations get tracked (I see LandUseCase/CaseType, but what was applied for, not what was actually approved)?
... View more
12-28-2016
12:33 PM
|
0
|
1
|
1400
|
POST
|
Yes, I see how that would work, however I do not see that as an optimal solution for a desktop application. By publishing the layers to ArcGIS for Server, I'm offloading all the rendering to the server. Instead of the individual PC's being responsible for reading the data and rending the map, ArcGIS Server has to do all this. I'm wasting the processing power of the PC and requiring the server to do all the work. I'll need a beefier server just to handle the rendering, when the PC is only being reduced to a "browser" displaying dynamically rendered tiles. This is desired when building a web application, but it is not optimal for a desktop application. It seems like a major shortcoming for the desktop runtime api that it cannot utilize the symbology created in desktop products. It seems like my only options with Runtime is to: Use LocalServer to display Map Packages created from MXD's using my .lyr files. Downside: Requires additional licensing Use Feature Layers to display feature services published on AGS from MXD/SD using my .lyr files. Downside: Requires a production-level ArcGIS Server. Use Runtime Symbology to display layers. Downside: Requires recreation and hardcoding of existing symbology. How exactly is the unified symbology model being handled in the Quartz release? I've looked through the beta version documentation, but nothing was jumping out at me. Does this change my options?
... View more
06-08-2016
08:45 AM
|
0
|
0
|
422
|
POST
|
I have many ArcMap Layer Files (.lyr files) that I would like to use in a ArcGIS Runtime SDK .Net Desktop application. The Layer Files reference data in an ArcGIS Enterprise Geodatabase (SDE). Layer Files are not directly supported by Runtime applications. My original idea was to use create Map Packages from the Layer Files, that reference the geodatabase data. However, I quickly found out that this is using a LocalServer and thus requires additional Standard Licensing. I wish to keep my application at the Basic Licensing level. The application will only run on the internal network on Windows PC’s. No offline access is needed. How can I use this existing symbology in an ArcGIS Runtime SDE .Net Desktop application (10.2.7.0+ or Quartz release)?
... View more
06-06-2016
01:08 PM
|
0
|
2
|
2381
|
POST
|
I recently changed a polygon feature class to be enabled for Z values. Thus the geometry type went from Polygon to PolygonZ. I soon discovered that this broke some functionality in a custom AGX Add-In. Here's some sample code: // fLayer = this my polygon FeatureLayer // graphicGeo = this is polygon Geometry from a graphic I drew, same coordinate system as fLayer Filter sFilter = new Filter(); sFilter.Geometry = graphicGeo ; sFilter.SpatialSearchType = FilterSearchOptions.Intersects; RowCollection rCol = fLayer.Table.Search(sFilter); Console.WriteLine( rCol.Count ) When fLayer is a Polygon, rCol.Count will return the number of rows as expected When fLayer is a PolygonZ, rCol.Count will always return -1.
... View more
02-16-2016
04:05 PM
|
0
|
0
|
2628
|
POST
|
I've seen several of those posts looking for an example. It sounded like they were more looking for an out of the box type tool. I'm looking for code samples, since once I get the feature's value, I'd like to do a bunch of other stuff with it and then present the results to the user.
... View more
12-22-2014
03:10 PM
|
0
|
1
|
448
|
POST
|
I'm looking for a simplified example of a Custom Widget in Web App Builder that would be used to click on the map, and get an attribute for that feature. The layer service and field name area already known (hardcoded). I've looked at the documentation for both the Widgets and Javascript API and nothing is quite clear to me on how the two should work together to do this. I've spent too much time trying to figure out how the Query Widget works and have not gotten that far.
... View more
12-22-2014
02:36 PM
|
0
|
3
|
850
|
POST
|
A few people who use AGX now have High DPI monitors. They have 28" monitors running at 3840 x 2160 resolution (also known as 4K). The results in about 160 pixels per inch (known as DPI). We have adjusted the text size in Windows 7 to scale up by 200% (Control Panel > Display > Set custom text Size DPI ). Usually AGX will scale up the text, tabs and dialog boxes. The icon images don't scale, but that not to surprising. What is surprising, is that AGX is not completely consistent when it scales up. Sometimes nothing scales up. I saw once where the ribbon scaled up, but nothing else did. I can't figure out what causes it to happen. Is there anything I can do to get it so it always scales up?
... View more
12-09-2014
12:00 PM
|
0
|
0
|
3128
|
POST
|
Thanks! I haven't thought of that before. That would definitely be a solution for large size plots.
... View more
03-21-2014
07:37 AM
|
0
|
0
|
235
|
POST
|
I'm wondering 1) if anyone has done this, and 2) if it is even possible? For a long time, I've wanted to print high-quality / high-resolution maps from AGX. I've always been limited to just taking a "screenshot" (using disp.GetBitmap(); ) of the display screen and then adding the rest of the layout element to the output. This is fine for 8.5x11", but anything else it's not. I think it might be possible to use arcpy.mapping to do this. Specifically the ConvertWebMapToMapDocument() function. This would require being connected toArcGIS Server and all of the layers on the screen would need to be map services, which isn't a problem in my case. Here's what would need to be done. Create a GeoProcessing tool (the GP tool) on AGS utilizing the ConvertWebMapToMapDocument(). AGX would call the GP tool just like any other GP tool. To prepare the info needed for the GP tool is the hard part. The web map api's already have the PrintTask which construct the ExportWebMap JSON which is needed for the GP tool. AGX has no such function. As I see it, there are two ways to create the ExportWebMap JSON in AGX. The "easy?" way. Read through your layers and basemap, from the layers and basemap, and build a web map in the background using one of the web map api's (silverlight would make the most sense?). Any graphics would also have to be added to the web map. Then call the PrintTask to build the JSON. The "hard" way. Read through your layers, graphics and basemap and create the ExportWebMap JSON from scratch on your own. Thoughts?
... View more
03-18-2014
11:27 AM
|
0
|
2
|
2785
|
POST
|
In our setup we have a custom configuration file (.NCFG file) on a network drive. We created a shortcut to this file for users to use a customized AGX. This is working fine for all but one of our users. For some reason the shortcut, and even clicking on the file itself will just cause the default AGX to load. If I go into Configuration Manager on that PC, and preview the configuration file, it will load fine. It just won't load by clicking on the NCFG file. I've uninstalled/reinstalled, deleted all the AGX-related folders I can find in Application Data, but no luck. This PC should be setup with the same security and configuration as all of the other working PC's. I've created a new shortcut in the format of - "C:\Program Files (x86)\Explorer\bin\E3.exe" /AppConfig c:\path\to\appconfig.ncfg And this works, but why won't clicking on the NCFG file work in the first place?
... View more
05-31-2013
12:37 PM
|
0
|
0
|
1979
|
POST
|
I have a geoprocessing task setup on server and it is working as it should. I???ve put together a webpage that will call the geoprocesing task and report the results. When I am running in debug mode on localhost in IE9 everything works as it should. When I view the page from the webserver in Chrome and Safari, everything works. However it will not work in IE9 (or compatibility mode). By debugging in IE9 and other testing, what I???ve discovered is that IE is always getting back a status of ???esriJobSubmitted??? even though I know it???s been completed. If I go and type in the jobID and plug it into the REST service, the geoprocessing task will report the job as being completed successfully, but the webpage still is getting back that it???s only been submitted. It???s as if it???s only getting the first response and then just repeating it. To sum it up in pseudo code: gpTask.submitJob(parms, completeCallback, statusCallback); function statusCallback(jobInfo) { var status = jobInfo.jobStatus;// this always results esriJobSummitted with IE9 (except on localhost) , but gets actual status Chrome/Safari } function completeCallback(jobInfo) { //never gets called when on IE9 (except on localhost), but does in Chrome/Safari }
... View more
04-19-2013
02:13 PM
|
0
|
0
|
575
|
POST
|
Can you install 2500 concurently with 1700/1750? What about the SDK?
... View more
02-14-2013
09:16 AM
|
0
|
0
|
379
|
Title | Kudos | Posted |
---|---|---|
2 | 09-12-2019 08:50 AM | |
21 | 07-06-2010 01:01 PM | |
16 | 10-28-2010 01:52 PM |
Online Status |
Offline
|
Date Last Visited |
01-08-2024
07:51 PM
|