POST
|
Yesterday I created a new feature, tapped 'stream' and verified that the system was actively recording GPS data by walking around the parking lot. Then I took off on my mountain bike to map some new trails for my community and the non-profit groups that make these trails possible. When I got back to the car, Collector was unresponsive - all that was shown under the blue banner with the name of the project was a spinning circle, the type of graphic that typically indicates that something is loading. When I pulled into my driveway 10 minutes later, the spinning circle was still there and the app was otherwise unresponsive. So I killed Collector and restarted it. I navigated to the project, but the line that I had attempted to record was completely absent, including the segment that I saw while in the parking lot. Is it possible to recover the data from my phone? I have found the ArcGIS_Collector/offline_data folder, but it's empty. If it's not recoverable, what I can do to prevent this loss in the future? I'm running a LG G2 with Collector 10.3
... View more
03-30-2015
10:32 AM
|
0
|
2
|
3397
|
POST
|
Thanks, Ben. The explode suggestion is a good idea. It's somewhat similar to using the 'zoom to selected features' to verify that I'm aware of every part of the fragmented that is selected. I just have to remember to do either one with each edit. It'd still be nice to have an easy way to "clean" the line so that all of the vertices are are in the order that you would expect. It'd be even better if one could specify an edit mode that would reorder vertices at the end of every merge. This fragmented ordering makes me a bit uneasy to think about how these lines will appear if I ever need to export them to a different format.
... View more
03-26-2015
12:38 PM
|
0
|
0
|
931
|
POST
|
I have a line feature class that represents greenways and trails. Many of the trails have been mapped with a recreation grade GPS. As more GPS tracks or new aerial photos become available, I ‘refine’ many of the line features using the following steps: 1) Split the line in two places: at the start and at the end of where I need to redigitize the line 2) Select the line segment that is to be deleted 3) Delete this line segment 4) Redigitize the line segment with the more accurate alignment 5) Merge the redigitized portion with the portions of the original line that were not redigitized Although the resulting line is one feature, the order of the vertices often becomes very fragmented. This may seem inconsequential, but it has repeatedly caused the following problem. In step 2 above portions of the line that are far from the segment am redigitizing are inadvertently selected. See the attached jpeg for an example. The selected feature is one feature. These unintentionally selected line segments are often off the screen. When I delete the portion that I intend to delete, the portion that’s off the screen can be deleted accidentally. Yes, I can and should be more careful by verifying that that only the portion I intend to delete is selected. But there are other reasons why I would like to have cleaner lines. This line feature class is stored in SDE, so the Check Geometry tool is futile. Dissolve probably isn’t a good approach because I need the trails to remain individual line segments at intersections – we may use these lines in a routing scenario some day. Create Routes drops the attributes and I don’t want to deal with M values – linear referencing is not needed here. Suggestions?
... View more
03-25-2015
07:30 AM
|
0
|
2
|
4426
|
POST
|
I have a point feature class in a SQL Express ("Personal ArcSDE") geodatabase. I also get the same error when I attempt to create an ODBC linked table to said feature class from within Access . I'm able to link to all non-spatial tables, even those that are registered with the geodatabase from within the ESRI realm. The two point feature classes in my database have both a clustered index and a spatial index. I suspect that one of those indexes is breaking the ODBC connection. Unlike you, I am able to see the feature class base tables in SSMS. My work around was to create a view of the feature class in SSMS and then create the ODBC link to the view and not the table. This may not be possibly in your situation since you can't even see the base table in SSMS. However, I first tried creating the view using something to effect of: CREATE VIEW [dbo].[vw_MyView] AS SELECT dbo.MyFeatureClassBaseTable.* FROM dbo.MyFeatureClassBaseTable I was able to create the ODBC link from Access to this view. But when I attempted to edit a cell's value in Access, I was getting some sort of error. I deleted the view and the link and then created a new view that lists all of the columns that I need, such as CREATE VIEW [dbo].[vw_MyView] AS SELECT dbo.Col1, Col2, Col3 FROM dbo.MyFeatureClassBaseTable Now I can edit cell values in Access. ESRI constantly warns users about monkeying with geodatabase tables outside of the ArcGIS environment. I agree that it comes with risks of corruption. But at the same time, SQL is often a much, much more efficient way of managing data. I've been using Access and SSMA to manipulate geodatabase data for over a decade. I have never encountered a problem using Access or SQL as long as: -- you don't monkey with any versioned tables or feature classes in any way -- you don't delete features in a feature class (sometimes the spatial indexes are in separate tables and the corresponding row would also need to be deleted) -- you don't add a row to a feature class (for the same reason as above) -- you don't add a row to a non-spatial table that is registered with the geodb and therefore has an OBJECTID field that ArcGIS libraries should manage -- you don't delete any tables or FCs that are registered with the geodatabase
... View more
02-11-2015
08:16 AM
|
2
|
0
|
968
|
POST
|
I've successfully: 1) created a map in AGO, 2) created a WAB app on AGO that points at map in #1 3) downloaded the "WAB Developer Addition" 4) configured a local version of the app in #2 by pasting the js code into config.json 5) ran the app on our local webserver Using the ArcGIS JS API, how can I do things like the following in my locally hosted web app: -- add a feature layer? -- dynamically create and change labels when the map is panned or zoomed? -- dynamically change symbology of feature layers? -- programmatically toggle layer visibility? Is that possible when using WAB? If so, where do I put the code to that?
... View more
12-30-2014
07:08 AM
|
0
|
0
|
3474
|
POST
|
Tony, Are you successfully running 32 bit and 64 bit oracle clients on the same Windows desktops? It would be nice to use the 64 bit geoprocessing on Pro but I absolutely need to be edit our SDE data that I'm currently accessing via the 32 bit client. Also, are you having to change the path string when you need to switch between 32 and 64? Or is it "seamless"? Thanks
... View more
11-13-2014
07:44 AM
|
0
|
4
|
1537
|
POST
|
Of course! I bet that's the issue. Oracle client configurations can be tricky, especially when using LDAP and OS Authentication. I'm tempted to co-install the 64-bit client to run along side the current 32-bit installation, but I'm not going to risk causing problems with my ability to edit critical SDE feature classes. Another question: I'm aware that some 10.2 'background' geoprocessing tools run on 64-bit. In ArcGIS Pro, do all of the other geoprocessing tools run on 64-bit? Or is ArcGIS Pro using the same geoprocessing libraries as 10.2? Thanks for the speedy response, Alex
... View more
07-17-2014
11:36 AM
|
0
|
1
|
1537
|
POST
|
I'm using Beta 4, Build 1141. I copied the instance 'string' from ArcCatalog 10.2.0 to the instance string input box in ArcGIS Pro. The ArcCatalog connection dialog box is on the left and the AGP dialog box is on the right. They are identical I have no problem connecting to and editing this SDE database via ArcMap, which strongly suggests that the Oracle client libraries are properly installed on my computer. But I get the following error from AGP when I click 'OK' --------------------------- Connection Error --------------------------- Failed to connect to the specified server. A database connection exception has occurred. Cannot connect to database because the database client software failed to load. Be sure the database client software is installed and configured correctly. --------------------------- OK --------------------------- Any ideas what's going on or how I can correct this problem? I realize that this is a beta version......
... View more
07-17-2014
09:55 AM
|
0
|
12
|
6473
|
POST
|
I'm trying to implement the code in the following article: http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#/Leveraging_ArcPy_in_a_NET_application/000100000m0s000000/ As the article recommends, I passed the following to the function: "python C:\temp\Del_tLUMPCCases_KNO.py". This executes the script and it gets the job done, but I get a Windows error that pops up and states that the Python.exe has crashed: check online for a solution and close or close. This could cause the user to think that the entire vb.net .exe process has also crashed I've tried just the path to my python script: Dim command As String = "C:\temp\Del_tLUMPCCases_KNO.py" I've tried calling the python exe and then the path to my script: Dim command As String = "C:\Python27\ArcGISx6410.2\python.exe C:\temp\Del_tLUMPCCases_KNO.py". This works without crashing when executed through the cmd prompt or pasting that string into Windows Explorer. When I do this, it launches the python console with the heading "C:\Python27\ArcGISx6410.2\python.exe", so I presume that's the correct executable to try to use (I'm using a 64bit Win7 machine). And when executed this way, the python script functions properly, which is to delete a table from a geodatabase - without a notification that python.exe has crashed. Are there other ways to simulate pasting the above examples into the cmd prompt - but from vb.net? It needs to be synchronous - this python must complete before my vb.net exe goes to the next line of code. The reason I'm using python is because I tried just about every way to call a geoprocessing tool or model using ESRI.ArcGIS.Geoprocessing.IGeoProcessor2 and ESRI.ArcGIS.Geoprocessor.Geoprocessor. Every time I delete a table through these methods, my vb.net exe crashes. I execute the tools in a Try Catch block and it never invokes the code in the catch block. The exe just shutsdown immediately.
... View more
01-22-2014
12:17 PM
|
0
|
1
|
4173
|
POST
|
Can somebody please explain exactly what I need to do here: https://landscape3.arcgis.com/arcgis/rest/login I go to www.arcgis.com and log in. Where do I enter the given string in the "Webpapp URL" parameter. Where is that parameter input box located? Thanks
... View more
01-02-2014
08:40 AM
|
0
|
0
|
2942
|
POST
|
This problem seems to be caused by sending a float (aka single) field to the class breaks renderer. I created a feature class with double fields and re-uploaded the feature service to AGO. The problem was no longer occurring. Hopefully this post will prevent others from spending a considerable amount of time trying to debug their code.
... View more
12-19-2013
06:12 AM
|
0
|
0
|
736
|
POST
|
I'm creating my breaks in the exact same way as this demo that I based my code on: http://jsbin.com/ILAYUNeK. I've also attached a complete version of my code as a txt file. I haven't changed much other than styling the dropdown / legend, adding the Stamen 'toner' layer and substituting my own AGO polygon feature service. Initially, I uploaded all of the counties in TN to my feature service in case we later wanted to show counties outside of our 8-county focus area. I was using setDefinitionExpression on the layer and using the 'where' parameter on GenerateRendererTask.execute. I suspected that this definition query was causing some of the issues, so I deleted all but the eight focus counties in ArcMap and then created a new feature service with only the 8 counties. Then I commented out all of the places where I had applied the definition query. These commented lines are still in the attached code. I still ran into the same problem: counties that are in the highest and lowest class breaks sometimes don't display. Thanks for another quick response. You've been very helpful.
... View more
12-17-2013
04:26 AM
|
0
|
0
|
736
|
POST
|
I've got an otherwise functional version of this sample: http://jsbin.com/ILAYUNeK. But I'm also seeing this issue in the ArcGIS.com maps, including this one. In this map, the counties are rendered based on the single precision PercentVacantHousingUnits field. According to ArcMap, the value in this field for Loudon County (the county that's not displayed) is 8.741081. The legend in the map shows the bottom cut off value for lowest class is 8.7411. I'm not sure if that degree of rounding is just in the legend display or if it's the actual minimum value of the class. I'm guessing the latter is the case since it's not displaying. This same problem is occurring in my 'from scratch' JS map as well that's based on the sample above. Is this a know issue? Is there a work around? Is the code in this post a 'patch' to this problem? This seems to be a bug. If it is, has anybody submitted a ticket for it? I imagine that many other people could be impacted by this problem - thematic mapping is a common use of web maps. Thanks in advance for any insight.
... View more
12-16-2013
12:08 PM
|
0
|
4
|
1277
|
POST
|
Thanks for the response, John. Just a suggestion: add the ability to have tile layers on top of feature and graphic layers. Base map tiles are very valuable because you don't have to manage all of the streets, political boundaries, etc. But they become less practical when you need to overlay thematic polygons on top of them - they become harder to read. Being able to overlay transparent tiles that have opaque line features and labels would alleviate this problem. I think there are a huge number of use cases where this would be helpful. Our current work around is to use the Stamen 'Toner' map tiles. The black is so dark that the labels show up underneath semi-transparent polygon layers well. Here's how we are adding them to our maps: var stamenToner = new WebTiledLayer("http://tile.stamen.com/toner/{level}/{col}/{row}.jpg", {
"copyright": "Map tiles by <a href=/\"http://stamen.com\">Stamen Design</a>, under <a href=\"http://creativecommons.org/licenses/by/3.0\">CC BY 3.0</a>. Data by <a href=\"http://openstreetmap.org\">OpenStreetMap</a>, under <a href=\"http://creativecommons.org/licenses/by-sa/3.0\">CC BY SA</a>.",
"id": "stamenToner " Thanks again!
... View more
12-13-2013
09:11 AM
|
0
|
0
|
1103
|
POST
|
I'm working off of this sample using the 3.7 API. I added my own FeatureLayer's to the map and the sample ran flawlessly. But whenever I introduce a WebTiledLayer, the feature layers are not added to the map or the legend widget. This makes total sense because WebTiledLayer's don't have a legend. So how do I prevent the invalid layers from being sent to the legend widget? I understand that the layerInfo variable lists the layers that should be sent to the legend and that only valid layers should be included. I tried several ways to filter out the WebTiledLayer's in the following block, but nothing worked. //add the legend
map.on("layers-add-result", function (evt) {
var layerInfo = arrayUtils.map(evt.layers, function (layer, index) {
return {layer:layer.layer, title:layer.layer.name};
});
if (layerInfo.length > 0) {
var legendDijit = new Legend({
map: map,
layerInfos: layerInfo
}, "legendDiv");
legendDijit.startup();
}
}); I tried assigning id's to the FeatureLayers's and then filtering those that don't have a matching id: if ((layer.layer.id == "tracts") || (layer.layer.id == "counties")) {
return { layer: layer.layer, title: layer.layer.name };
} No luck. Ideally, I'd like to check whether or not a layer is a featureLayer and if it's not, exclude it from layerInfo. My final app will have quite a number of featureLayers and I don't want to have to check the ID for all of them. Another potential hitch is that I'll be using a select (html dropdown) element to turn certain featureLayer's on and off via featureLayer.show() and featureLayer.hide(). So I'll somehow need to check whether or not a layer is visible and then send it to the legend if it is. I think there's probably no way to do this without checking the layer name/id somehow. Thanks for any suggestions!
... View more
12-12-2013
11:59 AM
|
0
|
1
|
900
|
Title | Kudos | Posted |
---|---|---|
1 | 12-23-2024 09:27 AM | |
1 | 11-19-2024 12:32 PM | |
1 | 08-16-2024 08:01 AM | |
1 | 10-24-2024 12:02 PM | |
1 | 06-06-2022 05:26 AM |
Online Status |
Offline
|
Date Last Visited |
04-15-2025
11:43 AM
|