[pmapper-users] digitizepoints

2010-01-06 Thread marcozani...@geosweb.it
Hi i'm trying to use the plugin digitizepoints in pmapper
4.0 final release, i'm using winxp with MS4W 2.7, i have
defined the follow configuration in
1. mayfile.map
2. config_myfile.xml
3. include_conf.php

1. mayfile.map

# PROVA_POSTGIS
LAYER
  NAME punti
  TYPE point
  CONNECTION host=localhost password=5maggio1941
user=postgres dbname=acam port=5432
  CONNECTIONTYPE postgis
  DATA the_geom from civici3 using unique gid
  TEMPLATE void
  PROJECTION
init=epsg:32632
  END
  METADATA 
DESCRIPTION Punti
RESULT_FIELDS dataini, codcomune
RESULT_HEADERS data, comune
  END  # Metadata 
  CLASS
Name 'Punti'
COLOR 255 0 0 
OUTLINECOLOR 0 0 0 
SYMBOL 'square' 
SIZE 9  
END  
  END  # Class
END  # Layer

2. config_myfile.xml

  digitizepoints
  dlgOptions
   width640/width  
   height480/height
   left100/left
   top50/top  
   decimals5/decimals  
   dlgTimeout2000/dlgTimeout   
   /dlgOptions
  /digitizepoints


3. include_conf.php

?php

//-
// Digitizepoint plugin configuration.
//-
$dsn=
'pgsql://postgres:5maggio1...@localhost:5432/acam';
$db_table   = 'civici3';   // Table name.
$pkey   = 'gid';  // Table's primary key.
$the_geom   = 'the_geom';// Table's geometry field,
type POINT.
$srid_geom  = 32632;  // SRID of the geometry.
$srid_map   = 32632;  // SRID of the map
(clicked screen point).
$tolerance  = 500;   // Distance in meteres to
pick existing point for editing.
$hide_fields = array('dataini');  // Table fields not
displayed in the edit form.

?

When i press the digitizepoints button in the workspace of
pmapper and click on the map, appears a contestual window
called Digitize Point and inside the message:
DB Error: unknown error 

I don't know what's wrong.
Thanks all!
marco zanieri

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] problem in pmapper 4.0 beta2

2009-05-27 Thread marcozani...@geosweb.it
Hi, I'm trayng to use pmapper 4.0 beta2, but i have problems
to load the layers, it seems that the images are generated
in the tmp directory, but these images are white; when i
tried to use pmapper 4.0 beta1 i did have not any
problems...
Anybody could help me?

Thanks all!!
marco

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] category in pdf

2009-04-05 Thread marcozani...@geosweb.it
Hi, i'm using pmapper 3.2; when i generate a pdf using tool
Print Map the layer's name are positioned under the map,
it would be possible to have also the names of the
CATEGORIES of membership of the layers?

Thanks to All!!
marco zanieri

--
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] (no subject)

2008-05-16 Thread marcozani...@geosweb.it
Message: 8
Date: Thu, 15 May 2008 19:28:04 +0200
From: Armin Burger [EMAIL PROTECTED]
Subject: Re: [pmapper-users] print pdf error
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Cc: pmapper-users@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

you could try to set the maximum memory usage of a PHP
script to a 
higher value in the php.ini for memory_limit.

armin


On 15/05/2008 17:38, [EMAIL PROTECTED] wrote:
 Hi, when i try to print pdf pmapper 3.2 shows this error:
 Fatal error: Allowed memory size of 8388608 bytes
exhausted
 (tried to allocate 3322095 bytes) in
 /var/www/mugello/webgis/incphp/print/tcpdf.php on line
 3229...anybody has an idea about this problem??? This
error
 comes when on the map there are color ortofoto on  small
 scale; for example: when the map (with color ortofoto) is
at
 1:2000 the print pdf is OK, instead when the map (with
color
 ortofoto) is at 1:1 the map gives the error.
 
 thanks all,
 
 marco zanieri


NOW IT'S OK!!
the memory_limit in php.ini was 32 so i changed in 128 and
now it's ok.

thanks,
marco


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] search.xml

2008-02-21 Thread marcozani...@geosweb.it
Hi i'm working with pmapper 3.2 beta4, i'm using search.xml
and i noted that if i write a accent word the search doesn't
work, the form desappears from the layout.
Example:

field type=s name=FRAZIONE
description=Località wildcard=2

i used alse the decoding for special characters:

field type=s name=FRAZIONE
description=Localitaagrave; wildcard=2
but i didn't have any good result.

Anybody could help me??

thanks all!!
marco zanieri



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] search.xml

2008-01-16 Thread marcozani...@geosweb.it
Hi, i have installed MDB2 on PEAR so i haven't any more the
error: Warning:  Suggest::require_once(DB.php)
 [function.Suggest-require-once]: failed to open stream: No
 such file or directory in

C:\ms4w\apps\pmapper\pmapper-3.2.beta4\incphp\query\suggest.php
 on line 126
but the search doesn't work; i'm working with
pmapper3.2beta4 and i'm using postgis, i'm trying to make a
search type=suggest/option, so in search.xml i wrote:
searchitem name=civici_pg description=civici pg
layer type=postgis name=civici
field type=s name=descvia description=via
 wildcard=2
  definition type=suggest connectiontype=db
sort=asc minlength=2 dependfld=descvia
  dsn
encoding=UTF-8pgsql://postgres:[EMAIL PROTECTED]/acam/dsn
  /definition
/field   
/layer
/searchitem

where:
user= postgres
host= localhost
db= acam

When I make the search it doesn't work and in the log
file(\ms4w\Apache\logs) there is not any information. 
 Anybody could help me??

 thanks all!!
 marco

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] search.xml

2008-01-15 Thread marcozani...@geosweb.it
Hi, i'm working with pmapper3.2beta4 and i'm using postgis;
i have a problem to use search.xml with
type=suggest/option, i wrote in search.xml:

searchitem name=civici description=civici_pg
layer type=postgis name=civici
field type=s name=descvia description=via
 wildcard=2
  definition type=suggest connectiontype=db
sort=asc minlength=1 dependfld=descvia/
/field   
/layer
/searchitem

When i make the search i have this error:
Warning:  Suggest::require_once(DB.php)
[function.Suggest-require-once]: failed to open stream: No
such file or directory in
C:\ms4w\apps\pmapper\pmapper-3.2.beta4\incphp\query\suggest.php
on line 126
Anybody could help me??

thanks all!!
marco 

 

 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Fwd: search.xml

2007-09-14 Thread marcozani...@geosweb.it

- Messaggio Inoltrato  -
Da : [EMAIL PROTECTED] [EMAIL PROTECTED]
A : [EMAIL PROTECTED]
Oggetto : search.xml
Data : Fri, 14 Sep 2007 08:37:08 +0100

Hi,
I'm using search.xml and I have the follow streak:

searchitem name=CENTRO description=Prato e Montemurlo
layer type=shape name=CENTRO
field type=s name=LEGENDA
description=Attivita' wildcard=0 
   definition type=options
connectiontype=inline sort= 
option name=Negozi e produttori
value=Negozi e produttori/ 
   option name=Aziende agricole e
agrituristiche value=Aziende agricole e agrituristiche/ 
   option name=Ristoranti
value=Ristoranti/ 
   option name=Botteghe artigiane
value=Botteghe artigiane/

 /definition
/field/layer

/searchitem

Somebody knows if it's possible to use wildcard on the
option so if I write
 
option name=Ristoranti value=a/ 

I can search all fatures with a in the field LEGENDA ???

Thanks,
marco




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Fwd: Extent read from layer feature

2007-09-14 Thread marcozani...@geosweb.it

- Messaggio Inoltrato  -
Da : [EMAIL PROTECTED] [EMAIL PROTECTED]
A : [EMAIL PROTECTED]
Oggetto : Extent read from layer feature
Data : Fri, 14 Sep 2007 08:27:19 +0100

Hi,
I used the function Extent read from layer feature using
the string
zoomLayer=countries[EMAIL PROTECTED]@[EMAIL PROTECTED]@1, it's ok
but I noted that when you have the feature on the map you
cannot move on all the map, you can move only around the
feature considered and you can use only ZOOMIN and not
ZOOMOUT. It's possible using this function (Extent read from
layer feature)and then move all around the map??

thanks,
marco 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users