|
POST
|
I am using Python API 1.8, and think I am using the correct syntax. But I am getting the same length for all units. I have a geometry with attributes like this rtegeom = {'hasM': True, 'paths': [[[-17599876.3954, 2460589.6597, 0], [-17599891.4049, 2460615.1396, 0.0170000000071013], [-17599905.0064, 2460642.7833, 0.0347000000037951], [-17599914.0818, 2460664.8565, 0.0485000000044238], [-17599924.0028, 2460693.9899, 0.0662000000011176]]], 'sr': {'wkid': 102100, 'latestWkid': 3857}} and if perform the following rtegeom.get_length(method='PLANAR', units='METERS') I get the same answer using rtegeom.get_length(method='PLANAR', units='MILES'). Any ideas why this is returning the same value? The measure (third dimension) is in miles.
... View more
09-01-2020
07:15 AM
|
0
|
0
|
568
|
|
BLOG
|
Hi, Mickael: You are right that the data returned ahs a different email instead of what you requested. But I am putting the database hat and think through the query, I see inconsistency in the parameters. If the globalid is a unique identification, there should not be a second parameter needed to pull the correct record from the list or table. So the email variable is superficial. What I am wondering now is that your table has duplicate globalid's? This is a violation of the unique constraint on the field itslef, so the behavior of the query result is not going to be predictable. Would you please check to see whether the globalid field is set as unique identifier and that it does not contain duplicates. Y9ou should only need the unique id to query the right record to be edited. I am sure some of the ESRI developers could shed more light on this issue than I could.
... View more
07-23-2020
11:08 PM
|
0
|
0
|
13342
|
|
BLOG
|
I am sorry if I did not understand your question. Are you saying that you passed the globalid field data and could not get the appropriate record due to the field being hidden? I think you are saying that it does not get the correct record at all. I think it does get something specific, but if you see the query to the first question i responded, and it has the global id field value within the query and it is able to bring up a record to be edited. If that is not the right one then there is a bug in the program to not be able to locate the appropriate record. Regardless whether in edit mode or not it should either bring up the correct record or nothing at all. Otherwise this will cause harm to all. Thank you for the followup.
... View more
07-22-2020
02:14 PM
|
0
|
0
|
13342
|
|
BLOG
|
Hello, Whitney, I am doing nothing other than following the syntax for the query (whether edit or not) and here is what I did to your second edit url (except that the gelobalid in the query was not avaialable and was set as a variable so I could not get to the particular record and a generic data was returned) https://survey123.arcgis.com/share/8357afa6eb3e4dc4bd1d5464c649e481?mode=edit&version=latest&status=Submitted the response is here If this is not what you would like to see then perhaps I did not grasp your problem. One more thing here, I think the query parameters are changing perhaps as we speak and the latest version (3.9+ ) maybe going in a the direction of adding a "field:" identifier to each field etc. But it seems to now work with just the name and value pair.
... View more
07-22-2020
01:50 PM
|
0
|
0
|
12076
|
|
BLOG
|
Hello, Mickael: I think if you get rid of the "field:" the URL https://survey123.arcgis.com/share/9fd130fc234e4dafa47337539c3f9fc2?mode=edit&globalId=3a540195-0650-493b-82c3-4fdd7452bf41&field:demandeur=roger@casq.fr It should work. https://survey123.arcgis.com/share/9fd130fc234e4dafa47337539c3f9fc2?mode=edit&globalId=3a540195-0650-493b-82c3-4fdd7452bf41&demandeur=roger@casq.fr works for me.
... View more
07-22-2020
11:45 AM
|
0
|
0
|
12076
|
|
POST
|
We were using a dynamic date filter with much success to filter daily and setup a tabbed document and beginning this week the filter is not working at all. We are not aware of any changes on our part. We used the directions shown at https://community.esri.com/docs/DOC-8191-dynamic-date-filter when it wsa setup and it was running perfectly for over six months Any changes by ESRI on SQL Syntax etc?
... View more
06-25-2020
07:33 PM
|
1
|
0
|
514
|
|
BLOG
|
Hello, James, I had raised the same question before and have given a set of scenarios that would make multi-point desirable geometry. We are a transportation services agency and perform inventory of multiple assets. Even though sometimes it would make sense to keep these assets in individual features, there are many instances that would make it easier to aggregate points. One instance where multipoint geometry are a perfect fit and nothing else comes near is when one wants locations of a project where exactly the same treatment is carried out on multiple geographically (spatially) dispersed area. The current solution is to have many point features that have the same attributes, we would like to have all the locations under one feature. You may say, what about repeat points? That is what we want to avoid! the extra management challenge associated with repeats is eliminated for many instances if there was a possibility of multi-point geometry store. Some of the projects currently in our system include replacing sign posts along a roadway. The work is exactly the same and the project has several hundred locations. Multi-Point feature would be just a solution that fits the need. I am bit surprised by the delay in having a multipoint geometry as part of the arsenal! It is after all a polyline without the line, that would make it lighter and easier to maintain. Why is it so difficult to have this feature when even shapefiles have multipoint geometry? There are many use cases but I think the flexibility to have one more toolset in solving varied problems is worth the little effort it takes to add multipoint geometry. Thank you,
... View more
05-07-2020
04:21 AM
|
0
|
0
|
5648
|
|
BLOG
|
Any possibility that multipoint geometry will be available in addition to point, line and polygon as a geometry type?
... View more
04-21-2020
04:52 PM
|
0
|
0
|
5648
|
|
BLOG
|
hello, Oussama, I think you just need to change the "objectid" to "objectId". it is case sensitive.
... View more
04-17-2020
01:27 PM
|
0
|
0
|
12076
|
|
BLOG
|
Hello, Timothy : Linking Op Dashboard and the form must share the same Object Id, which means they share the same feature class. You can generate a from from feature class by setting the design to be based on a feature service. Then use the object id to link the form and dashboard while embedding the form into the dashboad.
... View more
03-24-2020
08:10 PM
|
0
|
0
|
12076
|
|
POST
|
I am wondering why from time to time that the login into ArcGIS using a profile keeps asking to delete it since it "appears to be in the <v1.3 format.... . This is not nice, I did not ask it to be v1.3. Infact when the profile script is run, it says it is version 7.4! I upgraded to 1.8 and now I turned back to 1.6.2 . What is wrong here? Please see the image below and help me figure out what version it is talking about. The API version 1.6+ the ArcPro installed is 2.4.3 and I have updated python 3.6 (it is the compatible version for ArcPro) . I use a script to set the profile as detailed in using authenticated profiles. Working with different authentication schemes | ArcGIS for Developers Why is this error coming up?
... View more
03-24-2020
07:28 PM
|
0
|
4
|
2115
|
|
POST
|
Is there any update after two years on the ability to publish surveys on command line or batch?
... View more
03-06-2020
03:08 PM
|
1
|
1
|
2433
|
|
POST
|
I am a bit confused by the GeoAccessor documenation and miss the improvement made by using it instead of the the now deprecated SpatialDataFrame. I tried to move to the geoAccessor (gac function below) but what I get is not a dataframe or anything I can convert to a feature or set the geometry column etc. Image below shows a pandas dataframe iterated using df.itertuples() (i.e. for mrow in df.itertuples(): What I want to do is convert this row data which was originally in a feature layer (has itsown geometry) from a pandas frame again to a feature (later on featureset) after performing other operations. How can I do that using the geoaccessor instead of using SpatialDataFrame (which was a lot more simpler)? Since the mrow is not geometry aware, I must set the geometry column, but I could not do that via the geoaccessor even though the documentation says I can. SpatialDataFrame gives me what I need but I want to move forward.
... View more
01-14-2020
07:04 PM
|
0
|
2
|
1457
|
|
POST
|
I have been inclined to use the layer calculator since it is much faster than updating features using the API. The feature update also fails if for example I try to update a large set of features at one time. The layer calculator does the job much faster but I am having to scale the query as it limits the type of query. here is what I have encountered a problem with. I want to limit the calculation query by a date field and a time stamp or any way that makes comparing a field and a date possible. How can I coerce the date data or the field to match a certain format? Below is a code snippet val = datetime.today() # today's date fld = 'todayis' # featrue table field containng datetime valx = datetime.strftime(datetime.today(),'%Y%m%d') qry0 = "format({},'yyyyMMdd') <> '{}'".format(fld,val) val2 = datetime.today() + timedelta(days=7) fld2="nextweekdy' result = lyr.calculate(where=qry0,calc_expression={"field" : fld2 , "value" : val2}) Running this code I get an error saying where parameter is invalid. RuntimeError: 'where' parameter is invalid (Error Code: 400) any insights?
... View more
12-16-2019
04:09 PM
|
0
|
3
|
3487
|
|
POST
|
Thank you, James, for the reply. I think you did not understand what I was saying. I am saying that, I lost a whole set of diectories in the my designs forlder in a twinkling of an eye aka an infinitesimal moment whithoiut me doing any deleting action myself. I couldn't also find it in the recycle bin! This is terrible to happen, regardless of my being able to download all those that are already published. I .ost some that are not published yet with all the published documents. Again, I appreciate your helpful response.
... View more
12-09-2019
10:35 AM
|
0
|
1
|
986
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-01-2025 09:29 PM | |
| 1 | 06-12-2025 05:04 PM | |
| 1 | 04-14-2025 07:33 PM | |
| 1 | 04-10-2019 06:15 PM | |
| 1 | 03-11-2019 06:34 PM |
| Online Status |
Offline
|
| Date Last Visited |
08-29-2025
03:13 PM
|