[udig-devel] Unable to add a multilinestringm layer from postgis

Paul Ramsey pramsey at refractions.net
Mon Jan 8 11:37:37 PST 2007


How did the geometry type get set to "MULTILINESTRINGM" in the first 
place?  It should be "MULTILINESTRING" regardless, with a dimension of 
4. What tool did you use to load the data?

P

Webb Sprague wrote:
> Cool -- thanks for the help, and I am glad to have found a bug.
> 
> W
> 
> On 1/8/07, Jesse Eichar <jeichar at refractions.net> wrote:
>> Hi I imported the shapefile you sent me.  It is a bug in Geotools.
>> Geotools doesn't know how to deal withMULTILINESTRINGM files.  But a
>> work around until we get it fixed in geotools is to just change the
>> type of the table in GeometryTables to be MULTILINESTRING instead of
>> MULTILINESTRINGM.  Do this and it will render fine.  Otherwise I'm
>> making a bug report in Geotools.
>>
>> Jesse
>>
>>
>> On 7-Jan-07, at 1:13 PM, Webb Sprague wrote:
>>
>> > Hi Jesse,
>> >
>> >> Since you can view it as shape file I would guess that there is
>> >> something strange about how it is being imported into postgis or some
>> >> other postgis setting.  Does uDig have access to the Geometry Columns
>> >> table?
>> >
>> > I have imported multiple other postgis things into the same uDig
>> > instance, and they work fine.  They were all shp2psql'ed the same way.
>> > I haven't imported any *line* features, just polygon and point, and
>> > if you want me try something let me know.
>> >
>> > I can also capture log output, but you will have to tell me how to
>> > find it.
>> >
>> > I am running on Mac OS X
>> >
>> > Oh -- there is another weird thing:  on the other postgis imports, I
>> > would have to restart udig to make it able to see changes to the
>> > database (like new area columns ...).  A restart did NOT solve my
>> > multilinestringm problem, though (I tried).
>> > _______________________________________________
>> > User-friendly Desktop Internet GIS (uDig)
>> > http://udig.refractions.net
>> > http://lists.refractions.net/mailman/listinfo/udig-devel
>>
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



More information about the udig-devel mailing list