[mapserver-users] shptree command does not change .qix 'date modified' when re-run?

2013-08-28 Thread Robert R. Raiz
Hello,

A thing I noticed today is that when I run the shptree command on a
shapefile that already has a .qix file, a simple ls -l command shows the
old date of the file, it does not see it as being replaced. Is anyone
familiar with this behavior?

I am not sure if it replaces the file or not.

-- 
*Raiz Roland Robert*
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] shptree command does not change .qix 'date modified' when re-run?

2013-08-28 Thread Lime, Steve D (MNIT)
Working as expected on SuSE 11, I see the timestamp change. I did notice that 
the utility doesn't produce an error if it can't create the file for some 
reason (I tested with permissions), it just fails silently. Maybe you're 
running into that?

Steve

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Robert R. Raiz
Sent: Wednesday, August 28, 2013 10:36 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] shptree command does not change .qix 'date modified' 
when re-run?

Hello,

A thing I noticed today is that when I run the shptree command on a shapefile 
that already has a .qix file, a simple ls -l command shows the old date of the 
file, it does not see it as being replaced. Is anyone familiar with this 
behavior?

I am not sure if it replaces the file or not.

--
Raiz Roland Robert

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Shptree fails with biggish shapefile

2010-10-20 Thread Rahkonen Jukka
Hi,
 
I have been trying to create an index with shptree for a rather big
shapefile.  The size of the .shp part is about 1800 KB.  Shptree seems
to run OK, it does not throw any errors and Windows task manager shows a
steady growing memory usage.  Then shptree stops without warnings and
memory is freed.  Unfortunately no .qix file is written on the disk.  I
made a test by selecting a part of the big shapefile into a smaller one
and for that I could create .qix index normally.  Therefore I believe
that the data is OK and shptree fails because of the big shapefile size.
Have anyone else experienced the same and if this perhaps something
worth creating a new ticket on issue tracker?
I am still playing with GDAL 1.7.0dev, FWTools 2.4.2, released
2009/06/24.
 
-Jukka Rahkonen-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Shptree fails with biggish shapefile

2010-10-20 Thread Jeff McKenna

On 10-10-20 9:07 AM, Rahkonen Jukka wrote:

Hi,
I have been trying to create an index with shptree for a rather big
shapefile. The size of the .shp part is about 1800 KB. Shptree seems to
run OK, it does not throw any errors and Windows task manager shows a
steady growing memory usage. Then shptree stops without warnings and
memory is freed. Unfortunately no .qix file is written on the disk. I
made a test by selecting a part of the big shapefile into a smaller one
and for that I could create .qix index normally. Therefore I believe
that the data is OK and shptree fails because of the big shapefile size.
Have anyone else experienced the same and if this perhaps something
worth creating a new ticket on issue tracker?
I am still playing with GDAL 1.7.0dev, FWTools 2.4.2, released 2009/06/24.



Note that large dbf/shp support was recently tweaked during the recent 
WMS Benchmarking exercise 
(http://osgeo-org.1803224.n2.nabble.com/Support-for-large-DBF-SHP-files-td5420444.html#a5420444). 
 In that case shptree would create a qix file (for a 1.3GB shp) but 
MapServer would not draw it and no errors were thrown; this has since 
been fixed.


-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Shptree fails with biggish shapefile

2010-10-20 Thread Michael Smith
You may also want to limit the depth. In the benchmarking exercise, we saw
shptree creating a qix file with excessive depth. Try limiting the depth to
8 or less.

Mike


-- 
Michael Smith
US Army Corps of Engineers
Remote Sensing/GIS Center
Hanover, NH 




On 10/20/10 8:21 AM, Jeff McKenna jmcke...@gatewaygeomatics.com wrote:

 On 10-10-20 9:07 AM, Rahkonen Jukka wrote:
 Hi,
 I have been trying to create an index with shptree for a rather big
 shapefile. The size of the .shp part is about 1800 KB. Shptree seems to
 run OK, it does not throw any errors and Windows task manager shows a
 steady growing memory usage. Then shptree stops without warnings and
 memory is freed. Unfortunately no .qix file is written on the disk. I
 made a test by selecting a part of the big shapefile into a smaller one
 and for that I could create .qix index normally. Therefore I believe
 that the data is OK and shptree fails because of the big shapefile size.
 Have anyone else experienced the same and if this perhaps something
 worth creating a new ticket on issue tracker?
 I am still playing with GDAL 1.7.0dev, FWTools 2.4.2, released 2009/06/24.
 
 
 Note that large dbf/shp support was recently tweaked during the recent
 WMS Benchmarking exercise
 (http://osgeo-org.1803224.n2.nabble.com/Support-for-large-DBF-SHP-files-td5420
 444.html#a5420444).
   In that case shptree would create a qix file (for a 1.3GB shp) but
 MapServer would not draw it and no errors were thrown; this has since
 been fixed.
 
 -jeff
 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] ShpTree

2008-08-12 Thread Jochen Topf
On Mon, Aug 11, 2008 at 02:35:41PM -0600, Gregor Mosheh wrote:
 Note that for Mapserver (rather, OGR) to USE the qix file, you must not  
 specify the .shp extension in your DATA statement. If you do, the qix  
 will simply be skipped. e.g.
DATA data/streets/streets.shp
 should be:
DATA data/streets/streets
 (someone correct me if this has changed)

I just verified this on Mapserver 5.0.0 (the on in current Ubuntu). It
tries to open data/streets/streets.shp.qix instead of
data/streets/streets.gix.

But it looks like it has already been fixed in newer versions:
http://trac.osgeo.org/mapserver/changeset/7566

Jochen
-- 
Jochen Topf  [EMAIL PROTECTED]  http://www.remote.org/jochen/  +49-721-388298

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] ShpTree

2008-08-11 Thread Jay Kapalczynski
I am trying to figure out what I need to do/install/run to create a .qix
file (tile index) for a few of my shapefiles.

I have looked this up on a few pages and still am confused.

 

Can anyone help me?

 

Thanks

 

J

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users