mapmatching icon indicating copy to clipboard operation
mapmatching copied to clipboard

Error: getSegmentInfo, 'OBJECTID' Field name

Open rishabhjain4 opened this issue 8 years ago • 7 comments

I had ran the python toolbox in ArcGis for the test data provided, it ran successfully

I was testing on one of my data, it threw the following error: in getSegmentInfo, line 434, RuntimeError : a column specified that doe not exist.

I guess instead of using 'OBJECTID' as field name, we can use 'OID@' to access the objectid Field. ?

rishabhjain4 avatar May 29 '17 05:05 rishabhjain4

I guess in the field name as 'OBJECTID' you referring to each segments/edges unique IDs...

Correct me if I'm wrong

rishabhjain4 avatar May 29 '17 05:05 rishabhjain4

Yes, you are right. OBJECTID should be changed to whatever identifier is available. I should turn this into a parameter in the future.

Simon

Am 29/05/2017 um 7:29 AM schrieb Rishabh jain:

I had ran the python toolbox in ArcGis for the test data provided, it ran successfully

I was testing on one of my data, it threw the following error: in getSegmentInfo, line 434, RuntimeError : a column specified that doe not exist.

I guess instead of using 'OBJECTID' as field name, we can use 'OID@' to access the objectid Field. ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/simonscheider/mapmatching/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ADJHV_7nS_ghjIWf7dMHp3C3FFH8Z1cZks5r-lfXgaJpZM4No6gI.

-- Simon Scheider

Human Geography and Spatial Planning Universiteit Utrecht

Willem C. van Unnikgebouw Room 622 Heidelberglaan 2 3584 CS UTRECHT The Netherlands +31 30 253 2966

http://www.geographicknowledge.de http://www.uu.nl/medewerkers/SScheider

simonscheider avatar May 29 '17 07:05 simonscheider

It's working now

rishabhjain4 avatar May 29 '17 07:05 rishabhjain4

Hi I was trying to use the method as the ArcGIS tool. I did everything step by step just as told. Having successfully installed GDAL-2.2.3win32 and networkx-2.1. But when I tried to open it in ArcCatalog but failed and the "Description" says the item's XML contains errors. My ArcGIS version is 10.5. Did you encounter such problem?

xlwang233 avatar Feb 20 '18 04:02 xlwang233

I successfully installed the tool,but when I tried to use test data provided, it had something wrong. And I read the code,but I did not find the problem. Hope you can help me solve the problem.Thanks. default

squirrelim avatar Mar 11 '18 09:03 squirrelim

I have successfully run the test file. But when I run my own data, I get the error below . ExecuteError: ERROR 000358: Invalid expression Failed to execute (SelectLayerByAttribute) Could you please give me some help? Thank you very much!

Liychill avatar Feb 14 '20 08:02 Liychill

嗨, 我试图将方法用作ArcGIS工具。我按照指示一步一步地完成了所有工作。已成功安装GDAL-2.2.3win32和networkx-2.1。但是,当我尝试在ArcCatalog中打开它但失败时,“说明”显示该项目的XML包含错误。 我的ArcGIS版本是10.5。你遇到这样的问题 Me too, did you solve this problem later?

lclcr131019 avatar Jul 04 '20 08:07 lclcr131019