[Talk-us-massachusetts] MassGIS Parcels, importing into postgis?
Lars Ahlzen
lars at ahlzen.com
Fri Sep 6 01:31:50 UTC 2024
On 9/5/2024 7:17 PM, Greg Troxel wrote:
> This is more abusing a local geonerd list than osm, although I expect to
> use this data for OSM editing, or at least finding things that maybe
> should be different.
>
> I'm trying to get parcel data into postgis so I can view it in qgis.
> [...]
>
> so perhaps my problem is not setting the layer type.
>
> If anyone has any clues, I'd appreciate them -- trying to understand
> better before writing to MassGIS.
I ran into a very similar problem recently importing some other data.
Ogr2ogr always seems to need a lot of help before it does the right thing...
IIRC, I had to indeed specify the geometry type, something like -nlt
MULTIPOLYGON, and I think I also had to add -nlt PROMOTE_TO_MULTI option
since the data was a mix of single and multi features, and also
-forceNullable (but that's probably not applicable in your case).
- Lars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-us-massachusetts/attachments/20240905/d74376b9/attachment.htm>
More information about the Talk-us-massachusetts
mailing list