rburhum / arcgis-ogr

ArcGIS OGR Workspace
BSD 2-Clause "Simplified" License
87 stars 19 forks source link

Adding a PostGIS layer crashes ArcMap in v0.6.1 #13

Open jamesstott opened 11 years ago

jamesstott commented 11 years ago

Occurs with both PostGIS 1.5 and 2.0.

Also, noticed that if I have tables that have a geometry column of Geometry type, these do not do anything when selected to be added, but tables with a defined geometry type (point, line etc) do.

Can supply more info if needed.

rburhum commented 11 years ago

Ah yes. The tables with "generic" Geometry field are the exact same problem as in other bug reports. I think I may need to add a feature to force a particular geometry type in the config because ArcGIS does not support a generic "Geometry" Layer (it has to be specific). So does this mean that some layers are loading fine? Or do all crash?

jamesstott commented 11 years ago

That's really strange. It is working today. It definitely didn't work when I tried it before. I did a restart the other day too to make sure it wasn't that and it didn't work then.

In terms of generic geometry, it just doesn't load those layers. It would be good if there was a message that told you why. A lot of the tables I have inherited since starting this job do not have a geometry type defined - there is only one type of geometry in these tables, but it is not explicitly defined. So these tables will not open.