[MapServer-users] FlatGeobuf as output format

2023-06-21 Thread Benedek Petrovicz
Hi! I'm trying to integrate OGR's FlatGeobuf driver as an output format in my mapfiles. It works for the most part and it's awesome, but it fails immediately when I feed some MultiPolygons into it. The geometries are queried from an MSSQL DB. I get the following error: msOGRWriteShape(): OGR err

Re: [MapServer-users] FlatGeobuf as output format

2023-06-21 Thread Scott
I'm not sure how you're creating your fgb's, but from an ogr2ogr context try promoting all geoms to multi: -nlt PROMOTE_TO_MULTI On 6/21/23 07:50, Benedek Petrovicz wrote: Hi! I'm trying to integrate OGR's FlatGeobuf driver as an output format in my mapfiles. It works for the most part and i

Re: [MapServer-users] FlatGeobuf as output format

2023-06-22 Thread Benedek Petrovicz
I'm not trying to create any fgb-s, but MapServer is. And the issue is with MultiPolygons, so converting everything to that type doesn't help. The data source is not fgb. It can be anything. It is an MSSQL DB in my instance. Btw, converting the same dataset to fgb manually with ogr2ogr does work,

Re: [MapServer-users] FlatGeobuf as output format

2023-06-22 Thread Rahkonen Jukka
Re: [MapServer-users] FlatGeobuf as output format I'm not trying to create any fgb-s, but MapServer is. And the issue is with MultiPolygons, so converting everything to that type doesn't help. The data source is not fgb. It can be anything. It is an MSSQL DB in my instance. Btw, conv

Re: [MapServer-users] FlatGeobuf as output format

2023-06-22 Thread Benedek Petrovicz
el with > "ows_geomtype" "MultiPolygon" > > > > -Jukka Rahkonen- > > > > *Lähettäjä:* MapServer-users > *Puolesta > *Benedek Petrovicz > *Lähetetty:* torstai 22. kesäkuuta 2023 11.17 > *Vastaanottaja:* Scott > *Kopio:* mapserver-users@