Vincent Schut | 1 May 2003 10:03

Re: new simplify version (0.2)

strk,

to update from version 0.1, can I simply make install and run the sql script 
on the database that currently has simplify0.1 support enabled? Or should I 
first disable simplify0.1 support on the database (how?) and then enable 0.2?

Vincent.

On Wednesday 30 April 2003 19:42, strk wrote:
> Here it is:
>
> http://cobalt.rmnet.it/~san/postgis/simplify/simplify-0.2.tgz
>
> Nothing really new... just a bug fix that prevented simplified
> geometry from having a correct bvol and a bare handling of
> rings with < 4pts (skipped).
>
> --strk;
>
> _______________________________________________
> postgis-users mailing list
> postgis-users <at> postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

--

-- 
______________________________________
Vincent Schut (schut <at> sarvision.com)
Sarvision B.V.
Wageningen, The Netherlands
www.sarvision.com
(Continue reading)

Picon
Favicon

SPATIAL_REF_SYS table?

Hello,

In which it leaves from the spatial_ref_sys table placed the scale, it 
names,x1(coord), x2(coord), y1(coord), y2(coord), lat1, lat2, lon1, lon2 of 
the project?

I need an example the spatial_ref_sys table with scale, name... of the
project.

Thank you.

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.yupimsn.com/
strk | 2 May 2003 10:14

Re: new simplify version (0.2)

schut wrote:
> strk,
> 
> to update from version 0.1, can I simply make install and run the sql script 
> on the database that currently has simplify0.1 support enabled? Or should I 
> first disable simplify0.1 support on the database (how?) and then enable 0.2?

Running make install should be enaught. 
There is no need of disable/enable again. 

Enabling script just maps a simplify() stored procedure to the shared object
simplify.so - with make install you will overwrite the sared object,
so any further postgres instance will use the new implementation.

Be aware that connection opened before installing the new version will
still use the old loaded version: in these cases reconnect to the backend
or use 'LOAD $libdir/simplify.so' to force reload.

--strk;
Vincent Schut | 2 May 2003 15:33

Re: new simplify version (0.2)

Thanks,
kind a stupid of me, puzzled that out just a moment after sending my email... 
:-)
though there's 'nothing really new' it works a lot better with my sloppy 
indonesian shapefiles now...

Thanks,
Vincent.

On Friday 02 May 2003 10:14, strk wrote:
> schut wrote:
> > strk,
> >
> > to update from version 0.1, can I simply make install and run the sql
> > script on the database that currently has simplify0.1 support enabled? Or
> > should I first disable simplify0.1 support on the database (how?) and
> > then enable 0.2?
>
> Running make install should be enaught.
> There is no need of disable/enable again.
>
> Enabling script just maps a simplify() stored procedure to the shared
> object simplify.so - with make install you will overwrite the sared object,
> so any further postgres instance will use the new implementation.
>
> Be aware that connection opened before installing the new version will
> still use the old loaded version: in these cases reconnect to the backend
> or use 'LOAD $libdir/simplify.so' to force reload.
>
> --strk;
(Continue reading)

strk | 2 May 2003 15:59

Re: new simplify version (0.2)

schut wrote:
> Thanks,
> kind a stupid of me, puzzled that out just a moment after sending my email... 
> :-)
> though there's 'nothing really new' it works a lot better with my sloppy 
> indonesian shapefiles now...
> 
> Thanks,
> Vincent.

Wow :) happy to hear this.                                                      
Can you be more specific about 'works a lot better' ?                           
How are you using it ? Which problems did the new version solve ?               

thanks for your help.                                                           

PS: pop.sarvision.com refused to deliver this mail directly to your
    account schut <at> sarvision.com (User not found)

--strk;        
C F | 2 May 2003 16:16
Picon
Favicon

Re: new simplify version (0.2)

Hi,
Thanks for making this available... can be very useful.  I checked out your 
web page for a little more info on this simplifiy module.  It sounds like 
this works on line features only.  Is this true? No polygons?

Thanks

>From: strk <strk <at> freek.keybit.net>
>Reply-To: PostGIS Users Discussion <postgis-users <at> postgis.refractions.net>
>To: postgis-users <at> postgis.refractions.net
>Subject: [postgis-users] new simplify version (0.2)
>Date: Wed, 30 Apr 2003 19:42:32 +0200
>
>Here it is:
>
>http://cobalt.rmnet.it/~san/postgis/simplify/simplify-0.2.tgz
>
>Nothing really new... just a bug fix that prevented simplified
>geometry from having a correct bvol and a bare handling of
>rings with < 4pts (skipped).
>
>--strk;
>
>_______________________________________________
>postgis-users mailing list
>postgis-users <at> postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-users

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
(Continue reading)

Vincent Schut | 2 May 2003 16:17

Re: new simplify version (0.2)

Well, I should be carefull... I did an upgrade to postgis 0.7.5 and simplify 
0.2 at the same time... So it could, in theory, be one of both or both...

I am using several gis files of indonesia (provinces, districts, concessions, 
etc.) which have been produced at a very high resolution. These are 
shapefiles. I load them in postgis to do some querying, and processing, and 
then display them with mapserver (either from postgis, or from pgsql2shp 
generated shapefiles) well, that's where your simplify comes in handy, of 
course...
However, with postgis 0.7.4 / simplify 0.1 the result often lacked some 
polygons, sometimes even all except one.
Now, new postgis and simplify, I get at least all my polygons. Though the 
shapefiles seem to be buggy (or hard), cause mapserver has problems 
rendering/placing some labels (they just disappear, see my post about this on 
the mapserver-users mailing list...).
Well, anyway, the combination postgis0.7.5/simplify0.2 is handling my (buggy) 
shapefiles better now.

BTW strange about that pop server not wanting to allow my mail.... Hope it was 
a coincidence...
BTW2: I'll be off now and in Brasil next week so alas, no more 
conversations... Don't expect a reply on an eventual reply on this email 
before monday may 12th. Then, I'll be more than happy to continue this...

Cheers,
Vincent.

On Friday 02 May 2003 15:59, strk wrote:
> schut wrote:
> > Thanks,
(Continue reading)

strk | 2 May 2003 18:04

Re: new simplify version (0.2)

gis_consultant wrote:
> Hi,
> Thanks for making this available... can be very useful.  I checked out your 
> web page for a little more info on this simplifiy module.  It sounds like 
> this works on line features only.  Is this true? No polygons?
> 
> Thanks

>From the package's README:

	Points are untouched.
	Lines and polygons are simplified.

All polygon's rings are threated as lines.
There is no special handling of polygons beyond the policy in use
when getting a 2 or 3 points output. Lines are kept, while polygons
are removed from set (as of version 2).

--strk;
Picon
Favicon

I want a help spatial_ref_sys table


Hello,

In what place of the Statial_ref_sys table, can i place the scale, the 
project name, the flat coordinates(x1,x2,y1,y2), the geographic 
coordinates(lon1,lon2,lat1,lat2)?. Is it possible to place them in the 
SRTEXT field as PARAMETER[]?.
I need an example with all the last characteristics.

thanks for every thing.

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.yupimsn.com/
alen_uis | 5 May 2003 18:57
Picon

I want a help about Spatial_ref_sys table

Hello,

In what place of the Statial_ref_sys table, can i place the scale, the project name, the flat
coordinates(x1,x2,y1,y2), the geographic coordinates(lon1,lon2,lat1,lat2)?. Is it possible to
place them in the SRTEXT field as PARAMETER[]?.
I need an example with all the last characteristics.

thanks for every thing.

Gmane