|
POST
|
Just a heads-up, here's some info on tests I ran using version 46.0.2490.71 (64-bit)... OSX 10.9.5 - memory leak; crash Win 7 - memory leak; crash Win 8 - no crash! I wonder why Win 8 is special...
... View more
10-21-2015
08:17 AM
|
0
|
3
|
2879
|
|
POST
|
Interestingly, if I attach a debugger and step through it slowly, it ends up working ok.
... View more
10-19-2015
01:29 PM
|
0
|
0
|
3986
|
|
POST
|
Seems like a memory leak on Chrome. I tried a few different API versions to see if that helped... no such luck. Very quickly, we go from low memory usage to ~ 4 gbs in about 10 seconds (then, it crashes for me - "aw, snap"):
... View more
10-19-2015
01:12 PM
|
1
|
1
|
3986
|
|
POST
|
Are you encountering any of the limitation mentioned here? Shapefiles—ArcGIS Online Help | ArcGIS Limitations Below are the limitations to using shapefiles in the map viewer. Compression formats other than a .zip archive are not supported. Files containing more than 1,000 features cannot be added to a map. The shapefile must be less than 10 MB in size. The following features are not supported: multipatch or multipoint geometries, geometries that cross the dateline, or self-intersections in polygons. Shapefiles with these features cannot be added to a map. Shapefiles cannot be dragged directly onto the map viewer; you must use the Add button in the map viewer.
... View more
10-19-2015
12:52 PM
|
1
|
1
|
3847
|
|
POST
|
Without a join? Something like this in SQL maybe? SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[v_gis_view_test]') and OBJECTPROPERTY(id, N'IsView') = 1)
drop view [dbo].[v_gis_view_test]
GO
----------------------------------------------------------------------------------------------------------------
/*
COMMENTS...
*/
----------------------------------------------------------------------------------------------------------------
CREATE VIEW dbo.v_gis_view_test
AS
SELECT
table1.f1,
table1.f2,
table1.f3
FROM
dbo.theTableOne table1
UNION
SELECT
table2.f1,
table2.f2,
table2.f3
FROM
dbo.theTableTwo table2
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO In ArcGIS, I believe you would just add the view name, "v_gis_view_test" in this case, in the name box, and the select clauses in the expression box. Is this what you're looking to do?
... View more
10-19-2015
09:08 AM
|
1
|
0
|
1127
|
|
POST
|
It sounds like you want to secure your ArcGIS Server resources, making them accessible to certain users with perms across the Internet. In follow-up to Leandro's recommendation, check-out the following link: Configuring ArcGIS Server security—Documentation (10.3 and 10.3.1) | ArcGIS for Server You may want to also look carefully at restricting access to web services: Restricting access to GIS web services—Documentation (10.3 and 10.3.1) | ArcGIS for Server Here's some info on using tokens: Programmatic authentication to ArcGIS Server secured layers via RESTful API - Geographic Information Systems Stack Excha…
... View more
10-15-2015
01:12 PM
|
2
|
1
|
3731
|
|
POST
|
We use TFS as well for our dev projects. GIS is small component, and we don't have a lot of edits ongoing, so I just have the data directory on a regular back-up schedule... I do not keep anything in TFS. I did keep shapefiles in TFS at one time, however. Not sure if this is useful for you, but if you are unaware, there's an API Esri has for FGDBs: Esri Downloads Here's what you can do with it: File Geodatabase API The File Geodatabase API provides a non-ArcObjects based means by which advanced developers can work with File Geodatabases. The File Geodatabase API is C++ based and can perform the following tasks: Create, Open and Delete file geodatabases Read the schema of the geodatabase All content within a geodatabase can be opened for read access Create schema for objects within the simple feature model Tables Point, Line, and Polygon feature classes Feature datasets Domains Subtypes Read the contents of datasets in a geodatabase All dataset content within a geodatabase can be read Insert, Delete and Edit the contents of simple datasets: Tables Point, Line, Polygon, Multipoint, and Multipatch feature classes Perform attribute and (limited) spatial queries on datasets Spatial queries will be limited to the envelope-intersects operator This API is targeted for advanced developers who require access to the File Geodatabase without an ArcObjects license for purposes of interoperability. A commonly requested user scenario is to open File Geodatabase tables outside of an ArcObjects based application to view or modify data. This API does not replace ArcObjects as the recommended approach to interacting with the geodatabase.The File Geodatabase API leverages the work done in ArcGIS 10 to simplify the Geodatabase system tables. Therefore, the File Geodatabase API only supports file geodatabases from release 10 or later. Limitations of the File Geodatabase APIWhile the File Geodatabase API supports reading the schema and data of complex geodatabase types, the API does not honor geodatabase behavior on inserts, deletes or updates to the following dataset types: Annotation and Dimension feature classes Relationship Classes Networks (GN and ND) Topologies Terrains Representations Parcel Fabrics In most cases the API will prevent users from attempting to edit objects with complex behavior, but the onus is on the developer to understand what they should and should not edit through the API and avoid editing datasets that have geodatabase behavior. There is a method called Table::IsEditable which will provide developers with the ability to determine whether a dataset can be safely edited.Other limitations of the File Geodatabase API at its initial release: Rasters (Raster Dataset, Raster Catalog, Mosaic Datasets and Raster Attributes) are not supported. Spatial queries with the File Geodatabase API will be limited to the envelope-intersects operator. I only mention this if it would help automate some sort of versioning for your geodatabase since it provides low-level access, programmatically. Also, what about using geodatabase XML? ArcGIS Help 10.1
... View more
10-15-2015
07:44 AM
|
0
|
0
|
1509
|
|
POST
|
Gary Townsend had this issue a year or so ago - Adjusting the Length of a String in an AGOL hosted Feature Service No one replied with an answer! Also, Daniel Mallett asked the question as to where to find max length with no response as well - maximum limits of Hosted Feature Service Can you load a geodatabase? E.g. Publish features—ArcGIS Online Help | ArcGIS Additionally, would the workaround Rupert Essinger mentioned in Long text fields help in your case? Text fields in shapefiles have a maximum length of 254 characters so if you save a geodatabase feature class with text fields longer than that to a shapefile, those fields will be truncated down to 254 characters. The workaround to save your point layer's attribute table as a text file in ArcGIS Desktop using the Export Table command in the table window's menu. This creates a comma separated (CSV file) which you can then import into your ArcGIS Online web map as a layer. Text fields are automatically quoted in the resulting text file, so it is OK if your text descriptions contain commas. Before you do the export, you'll need to add the X Y coordinates of your point locations into the attribute table using the Calculate Geometry command (create two new empty numeric fields then right-click each of them in the table window to get to that command) so ArcGIS Online knows how to georeference the data. The exception is that if your point features already contain street address attributes, you can import the file without adding the XY coordinates, because the ArcGIS Explorer Online client supports geocoding. The method above only applies to point features, because importing CSV files into ArcGIS Online web maps only supports points. If you have lines or polygons with long descriptions, the workaround is to use shapefiles and break the long descriptions up over multiple text fields. Actually that's what I've been doing for my point features with long descriptions too. I've added multiple text fields, each of length 254, into my shapefile to contain different sections of the long description. In the popup configuration, you can use the Custom formatting and simply truncate these fields together with a space between each one. See the point features in my map of San Diego for what I mean. Click one of the point features then choose Edit Popup: http://www.arcgis.com/home/item.html?id=1966ef409a344d089b001df85332608f This gives me a lot of flexibility in how I configure the popup. For example, in the San Diego map I put the first sentence of the description, which I store in one field, at the top of the popup in bold as a quick summary before the address. This method also allows me to easily reconfigure the popup to contain less descriptive text if I want to, without having to edit the source data. Another advantage of splitting long descriptions up into multiple text fields of 254 characters each is that using ArcGIS Desktop 10.1 (to be released next year) if someone opens your web map in ArcMap, the feature classes that ArcMap automatically generates from your web map's point layers will match this field structure. So if an ArcMap user opens your web map, they can get the data from your point layer, use it in geoprocessing or make modifications or additions, save it as a shapefile and then import it into their own web map without any of the descriptive data getting truncated.
... View more
10-15-2015
07:24 AM
|
1
|
0
|
9710
|
|
POST
|
FYI, you can also just hit the service directly, outside of your mapping app, if that's ever useful to you: http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Petroleum/KSPetro/MapServer/1/query?text=&geometry={ "xmin" : -10857096.337411141, "ymin" : 4514682.962763, "xmax" : -10852204.367600897, "ymax" : 4510020.30403761, "spatialReference" : {"wkid" : 102100} } &geometryType=esriGeometryEnvelope&inSR=102100&spatialRel=esriSpatialRelContains&relationParam=&objectIds=&where=&time=&returnIdsOnly=false&returnGeometry=true&maxAllowableOffset=&outSR=&outFields=ACTIVEPROD,APPROXACRE,AVGDEPTH,FIELD_NAME,FIELD_TYPE,PROD_GAS,PROD_OIL,STATUS&f=json Copy this and paste in browser, you'll get a response back, e.g.: {"displayFieldName":"FIELD_NAME","fieldAliases":{"ACTIVEPROD":"Active Production","APPROXACRE":"Approximate Acre","AVGDEPTH":"Average Depth","FIELD_NAME":"Field Name","FIELD_TYPE":"Field Type","PROD_GAS":"Production Gas","PROD_OIL":"Production Oil","STATUS":"Status"},"geometryType":"esriGeometryPolygon","spatialReference":{"wkid":4267},"fields":[{"name":"ACTIVEPROD","type":"esriFieldTypeString","alias":"Active Production","length":10},{"name":"APPROXACRE","type":"esriFieldTypeDouble","alias":"Approximate Acre"},{"name":"AVGDEPTH","type":"esriFieldTypeDouble","alias":"Average Depth"},{"name":"FIELD_NAME","type":"esriFieldTypeString","alias":"Field Name","length":150},{"name":"FIELD_TYPE","type":"esriFieldTypeString","alias":"Field Type","length":5},{"name":"PROD_GAS","type":"esriFieldTypeString","alias":"Production Gas","length":3},{"name":"PROD_OIL","type":"esriFieldTypeString","alias":"Production Oil","length":3},{"name":"STATUS","type":"esriFieldTypeString","alias":"Status","length":50}],"features":[{"attributes":{"ACTIVEPROD":"GAS","APPROXACRE":158,"AVGDEPTH":0,"FIELD_NAME":"CLEARWATER NORTHEAST","FIELD_TYPE":"GAS","PROD_GAS":"Yes","PROD_OIL":"No","STATUS":"Active"},"geometry":{"rings":[[[-97.511999713999955,37.518708764000053],[-97.51425102099995,37.51864921400005],[-97.514269636999984,37.520450063000055],[-97.514288417999978,37.522267735000071],[-97.514289758999951,37.52239806800003],[-97.514307389999942,37.524102785000025],[-97.514326532999974,37.525954743000057],[-97.512054895999938,37.525979914000061],[-97.509767392999947,37.526005203000068],[-97.507485631999941,37.526030415000037],[-97.505202250999957,37.526055596000049],[-97.50520000299997,37.52424086700006],[-97.505197783999961,37.52244902700005],[-97.505195574999959,37.520663002000049],[-97.505193388999942,37.518888600000025],[-97.505300545999944,37.518885769000065],[-97.50747073499997,37.518828447000033],[-97.509739700999944,37.518768474000069],[-97.509800642999949,37.518766893000077],[-97.511999713999955,37.518708764000053]]]}}]} In the above, I asked for it to filter on an envelope (map extent) for fields contained by said extent. I asked for the service to give me the geometry rings as well as several field values. You can make the requests right through AJAX, or as an http response in .NET. Of course, you'd need the extent ahead of time! But, you can send in any geometry object - polygons, polylines, points, etc, and set your spatial relation in the request URL. You can also send queries as well, say by attribute, for instance.
... View more
10-14-2015
12:34 PM
|
2
|
0
|
2654
|
|
POST
|
Found an old thread with similar observations - Printing: Show Attribution David Marquardt was never successful in getting it to work, but worked around it by creating a custom template. I'm using the default template.
... View more
10-14-2015
09:57 AM
|
1
|
1
|
1824
|
|
POST
|
I tried this - it didn't work: Is it possibly an issue with the version of the print service? I'm using Server 10.3...
... View more
10-14-2015
09:51 AM
|
1
|
0
|
1824
|
|
POST
|
John, There was another discussion about this a few years back that has some good info, including a recipe that worked for one user (although no code was given): "Averaging" lines?
... View more
10-14-2015
08:30 AM
|
0
|
0
|
6636
|
|
POST
|
Michelle, I am not a user of Data Reviewer, but I am familiar with regular expressions - just curious, are there any plans to use another engine in the future? Everything I have seen indicates ATL is deprecated... there's not a lot of information available for users to consult when trying to understand and test the nuances of this particular flavor.
... View more
10-14-2015
07:59 AM
|
2
|
1
|
2555
|
|
POST
|
Aditya, Here's a visual representation of this: Some info on the attributes from the selection: Is this the kind of info you need?
... View more
10-14-2015
07:52 AM
|
1
|
1
|
2654
|
|
POST
|
According to the help doc, Data Reviewer uses the ATL engine - https://msdn.microsoft.com/en-us/library/k3zs4axe(v=vs.80).aspx This isn't supported in Visual Studio 2013 - Microsoft moved it to Codeplex in 2007 and stopped including the libraries in VS since VS 2008. I don't have the Data Reviewer extension, so there's really no way for me to test the expressions. I found an old app from 2006 - Using Regular Expressions in MFC - CodeProject but I can't install it on my work machine. I looked around for online regex testers that supported the CAtlRegExp flavor, but I couldn't find any - at this point, I would have to guess at the expression without having the ability to test...
... View more
10-13-2015
12:18 PM
|
1
|
0
|
2555
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-16-2020 01:25 PM | |
| 1 | 03-20-2019 09:07 AM | |
| 2 | 07-31-2015 07:31 AM | |
| 1 | 09-14-2015 12:14 PM | |
| 1 | 05-12-2015 12:04 PM |
| Online Status |
Offline
|
| Date Last Visited |
07-27-2023
02:30 AM
|