Re: How can I acess Multilinestring(dim=3)

2024-02-24 Thread Richard Mair
Hi David, thanks for your help. I tried setting dim to 4 but did't see any change. Here is my model: ```python from django.contrib.gis.db import models class Kmsys(models.Model): # Define constants EPSG_CODE = 31287 NAME_OF_GEOMETRY_FIELD = "geom" # F I E L D S

Re: How can I acess Multilinestring(dim=3)

2024-02-24 Thread David James Nwoyie
Increase the dim to 4 because of the Django of use 0 as the starting point On Sat, Feb 24, 2024, 8:48 PM Richard Mair wrote: > Hi i am using > > geom = models.MultiLineStringField( > dim=3, srid=EPSG_CODE, blank=True, null=True, spatial_index=True > ) # EPSG:3128=AustriaLambert > > > and my

How can I acess Multilinestring(dim=3)

2024-02-24 Thread Richard Mair
Hi i am using geom = models.MultiLineStringField( dim=3, srid=EPSG_CODE, blank=True, null=True, spatial_index=True ) # EPSG:3128=AustriaLambert and my PostGIS-DB is using (MultilinestringM ALTER TABLE IF EXISTS public."KMSYS" ADD COLUMN geom geometry(MultiLineStringM,31287); but when I