Raster to Polygon conversion - fail to execute python file

3565
2
Jump to solution
02-05-2014 08:42 PM
by Anonymous User
Not applicable
Original User: vikasranga2

Hi all,

I am failing to execute attached python script (solar5_supervise_vector.py) for attached image (Image.JPG) in Python IDLE. Following error is showing, snapshot (Error.JPG) is also attached:

  • ExecuteError: ERROR 010328: Syntax error at or near symbol SPACE.

  • ERROR 010267: Syntax error in parsing grid expression.

Waiting for solutions. Need urgent.

Regards
Vikas
0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable
Original User: xander_bakker

Hi Vikas,

My guess is that the folder "Object based classification" is causing the problem. ArcGIS, when it works on rasters, does not like spaces in the folder name. Replace the folders by underscores, or better yet, make the name shorter.

Kind regards,

Xander

View solution in original post

0 Kudos
2 Replies
by Anonymous User
Not applicable
Original User: xander_bakker

Hi Vikas,

My guess is that the folder "Object based classification" is causing the problem. ArcGIS, when it works on rasters, does not like spaces in the folder name. Replace the folders by underscores, or better yet, make the name shorter.

Kind regards,

Xander
0 Kudos
VikasRanga
New Contributor
Thanks Xander,

It worked.
0 Kudos