Select to view content in your preferred language

Spatial reference does not exist in the data source

3862
12
01-12-2021 03:28 AM
hanakohinonn
Emerging Contributor
  • Hi, Now I have a polygon layer, and I want to convert it to raster.

So, I tried to polygon to raster, however, the error came up with.

ERORR:999999

Spatial reference does not exist in the data source.

I have no ideal to solve this problem, please help me.

 

Thanks in advance.

0 Kudos
12 Replies
DanPatterson
MVP Esteemed Contributor

You need to define its coordinate system first 

Define Projection (Data Management)—ArcGIS Pro | Documentation

If you don't know what to define it as,

then don't guess, .... should be, could be, might be...

aren't good options, a misdefined coordinate system will only make a situation worse.


... sort of retired...
0 Kudos
hanakohinonn
Emerging Contributor

Hi, Dan. Thank you for your replying!

Following your advice, I tried define projection. And I got new error.

EROOR:999999

Table name is not correct.

Table is not found. 

How do you think why I cannot complete [define projection] and [polygon to raster]?

Any ideal would be help me.

Thank you.

 

0 Kudos
DanPatterson
MVP Esteemed Contributor

something is wrong with the file. 

Can you add it all by itself to a map and view it? (no basemap, no other data)

Can you open the table?

What are the extents of the file (left, right, top bottom)? check under the layer properties.

What Is the coordinate system supposed to be in light of the extent?  Does it look like decimal degree data? or does it look like it is projected?


... sort of retired...
0 Kudos
SteveLynch
Esri Regular Contributor

also try running CheckGeometry

0 Kudos
hanakohinonn
Emerging Contributor

Hi, Steve. Thank you for your replying!

I tried CheckGeometry, but I failed to it.

I don’t know  what is the reason.

If you have any idea, please teach me.

Thank you. 

0 Kudos
SteveLynch
Esri Regular Contributor
Your polygon layer, is it from a shapefile or a file geodatabase?
Right click the layer to see the properties.
Provide a screenshot showing the map and could you share the data.
0 Kudos
SteveLynch
Esri Regular Contributor

can you use CopyFeatures and copy it into the default file geodatabase and then try using the copied feature class.

0 Kudos
hanakohinonn
Emerging Contributor

Thank you for your advice!

I tried Copy Features ,but it also failed.

I  have no idea  why my shapefile cause a lot of error.  Are  there any solutions?

0 Kudos
DanPatterson
MVP Esteemed Contributor

What was the actual error?

Did you get the shapefile from somewhere? or did you produce it?  

Did you get any errors when loading the shapefile into a blank map?

If Repair Geometry and Copy Features doesn't fix the geometry problems there is little else you can do.

 


... sort of retired...
0 Kudos