On Mon, Apr 5, 2021 at 5:06 PM Peter Schmitt wrote:
> On Wed, Mar 24, 2021 at 1:47 AM Rahkonen Jukka (MML) <
> jukka.rahko...@maanmittauslaitos.fi> wrote:
>
>> perhaps OGR connection to PostGIS would work better than the native one
>> with tileindex.
>>
>
> I am trying to do this as a
On Wed, Mar 24, 2021 at 1:47 AM Rahkonen Jukka (MML) <
jukka.rahko...@maanmittauslaitos.fi> wrote:
> perhaps OGR connection to PostGIS would work better than the native one
> with tileindex.
>
I am trying to do this as a proof-of-concept tile index of vector files
where the geom is stored in a
I also have this fascination about tile indexes.I have one example how
to use shp2tile and create faster setup if You have large data files. It
shows how to set up ogrtindex. I still use this script in some projects.
I guess I must have shared it on the users-list a couple of years ago,
since
Spurred on by Zmitser, I've given some much needed love to the tileindex
examples (see
https://mapserver.org/optimization/tileindex.html#long-ogrtindex-example
). It doesn't answer Zmitser's exact questions but it hopefully helps
the next person understand how to implement.
Also, pull
2021 8:02:45 AM
>To: Carlos Ruiz < boolean10...@yahoo.com >
>Cc: mapserver-users@lists.osgeo.org < mapserver-users@lists.osgeo.org >
>Subject: Re: [mapserver-users] data parameter in tileindex
>
>Dear Carlos, it is not about mapfile, it is in location cell of tileindex. It
>
ter than the native one with tileindex.
>
>-Jukka Rahkonen-
>
>Lähettäjä: mapserver-users < mapserver-users-boun...@lists.osgeo.org >
>Puolesta Zmitser Kozhukh via mapserver-users
>Lähetetty: keskiviikko 24. maaliskuuta 2021 9.03
>Vastaanottaja: Carlos Ruiz < boolean10
kh via mapserver-users
Lähetetty: keskiviikko 24. maaliskuuta 2021 9.03
Vastaanottaja: Carlos Ruiz
mailto:boolean10...@yahoo.com>>
Kopio: mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Aihe: Re: [mapserver-users] data parameter in tileindex
Dear Carlos, it is
Sent: Wednesday, March 24, 2021 8:02:45 AM
To: Carlos Ruiz
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] data parameter in tileindex
Dear Carlos, it is not about mapfile, it is in location cell of tileindex. It
is one cell in table (database table, dbf file etc.), and
Dear Carlos, it is not about mapfile, it is in location cell of tileindex. It
is one cell in table (database table, dbf file etc.), and I need to put there
both connection and data details. The question is how to make it so that
mapserver parses it correctly.
Sincerely, Zmitser
>Среда, 24
Zmitser,
You have to have the following on a MAP file:
LAYER
...
CONNECTION "host= ... password="CONNECTIONTYPE
DATA " FROM USING UNIQUE USING SRID="
...
END
On DATA you must specify the name of the geometry column and the table, if
you're using a database. If you are using a shape file you
Dear mapserver users, I need to specify data parameter at the location item of
tileindex.
So far, I have tried many possibilities but none works:
‘host=127.0.0.1 dbname=database user=admin password=admin DATA "geom from table
using unique id using srid=4326"’
or
host=127.0.0.1 dbname=database
11 matches
Mail list logo