Re: [pmapper-users] Measure Distance

2009-12-01 Thread Salvator*eL*arosa

Sorry, the version is 3.1!

thank for reply!


Thomas RAFFIN wrote:
 
 Hi,
 
 What is your pmapper version please ?
 
 If you are using v4, you can:
 - use the measure2 plugin (see 
 http://svn.pmapper.net/trac/wiki/PluginsDynamicData#Measure2 for 
 documentation)
 - modifiy the javascript/src/pm.draw.js file.
 
 Salvator*eL*arosa a écrit :
 Hello everyone,
 I need to change the function measure, so that to double click will give
 me
 the distance of the segment when the number of segments is less than 1.
 This is possible by modifying the code?
 How can I do?

 When I measure a distance and I double-click gives me double the
 distance!

 Thanks!

 -
 Salvatore Larosa
 GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
   
 
 --
 Join us December 9, 2009 for the Red Hat Virtual Experience,
 a free event focused on virtualization and cloud computing. 
 Attend in-depth sessions from your desk. Your couch. Anywhere.
 http://p.sf.net/sfu/redhat-sfdev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 


-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://old.nabble.com/Measure-Distance-tp26590040p26590826.html
Sent from the pmapper users mailing list archive at Nabble.com.


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] minScale for button identify

2009-05-27 Thread Salvator*eL*arosa

HI at all,

Is there a way to activate a button in the toolbar to a scale 1:5000?

In practice, when the map has a scale of less than 1:5000 
allow interrogation of the layer. At a scale greater than 1:5000 
button appears grayed!

Thanks!

-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/minScale-for-button-identify-tp23749133p23749133.html
Sent from the pmapper users mailing list archive at Nabble.com.


--
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


Re: [pmapper-users] Digitize in pmapper 3.2

2009-05-22 Thread Salvator*eL*arosa



Salvator*eL*arosa wrote:
 
   
 The tool digitize it works with version 3.2?
 

Yes, it do!

In mapserver.js you need to add the string:

} else if (vmode == 'digitize') {
openDigitizeDlg(imgxy);

after the string:

else if (vmode == 'poi') {
openPoiDlg(imgxy);


:-


-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/Digitize-in-pmapper-3.2-tp23586066p23665970.html
Sent from the pmapper users mailing list archive at Nabble.com.


--
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 asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com 
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] DATA variable in mapfile

2009-05-15 Thread Salvator*eL*arosa



Ernesto Barrera wrote:
 
 
 
 Hi Salvatore,
 
 This is not exactly the same case but it might help
 
 My MAPFILE has a raster layer named 'landuse':
 
 LAYER
  NAME landuse
  TYPE RASTER
  DATA file01.tif
 END
 
 and I was interested in giving the user the capability to change the 
 data source (i.e. switch from file01.tif to file02.tif, by clicking 
 on a button).
 
 To do that, I passed the filename as a variable (wdata) in the URL and  
 used the mapscript function set to update the layer in the map object:
 
   globals.php ###
 $wdata=$_REQUEST['wdata'];
 if ($wdata != '') {
 $mylayer=$map-getLayerByName('landuse');
 $mylayer-set(data,$wdata);
 }
 #
 
 Maybe is not that clean but it works nicely.
 
 Regards
 
 
 
 
 
 
 

Thank you very much!

I found this very useful!

but now I have this problem:
in the same way I would set filter instead of DATA but give me the
error:

Fatal error: Property 'FILTER' does not exist in this object. in
C:\ms4w\Apache\htdocs\sicmed\incphp\globals.php on line 67

my code is:

$wdata = 'aree =' .$_COOKIE['nome_visitatore'].'';
//$wdata= 'the_geom from bacini where aree = '
.$_COOKIE['nome_visitatore'].'';
if ($wdata != '') {
$mylayer=$map-getLayerByName('bacini');
$mylayer-set(filter,$wdata);

}

my mapfile is:

CONNECTIONTYPE POSTGIS
CONNECTION host=localhost dbname=cms user=postgres password=*
port=5432
DATA the_geom FROM bacini
FILTER aree = ''

it's possible?


Thanks!


-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/DATA-variable-in-mapfile-tp23540047p23559655.html
Sent from the pmapper users mailing list archive at Nabble.com.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] DATA variable in mapfile

2009-05-14 Thread Salvator*eL*arosa

Can I put a variable in the mapfile?

For example:
the keyword DATA in the mapfile can insert a variable $ user as follows:

DATA geometry from table where user = '$ user'

where $user in map.phtml is:

$user = $_COOKIE('user')



Or how can I put a variable in the mapfile?

Thank you

-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/DATA-variable-in-mapfile-tp23538426p23538426.html
Sent from the pmapper users mailing list archive at Nabble.com.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] DATA variable in mapfile

2009-05-14 Thread Salvator*eL*arosa



Thomas RAFFIN wrote:
 
 I agree with Armin.
 
 If you want to do this with pmapper, it needs to re-write the msMap 
 object loading and parse those variable to replace them.
 
 
 

HOW CAN I TO DO THIS?

WHAT FILES SHOULD CHANGE?

THANKS!

-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/DATA-variable-in-mapfile-tp23538426p23539751.html
Sent from the pmapper users mailing list archive at Nabble.com.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] close result search with infowin=frame

2008-11-21 Thread Salvator*eL*arosa


Hello everyone, hello Armin

there's a way to combine tool refresh map
to close the result's search. I use infowin = frame!

thanks

-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/close-result-search-with-infowin%3Dframe-tp20631432p20631432.html
Sent from the pmapper users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] no icon legend with layer of postgis in v3.2

2008-07-25 Thread Salvator*eL*arosa



Emanuele Masiero wrote:
 
 HI EVERYBODY,
 
 with layer of postgis in pmapper 3.2 it not generates icons in
 images/legend and in toc it writes legend (url: ..pmapper32/void), but
 in the map the symbology is ok 
 
 same layer of postgis in pmapper 2.x it generates icons and the toc is ok
 Do you know the solution?
 thanks
 emanuele
 

Check within your mapfile if in layer postgis there is
the keyword TEMPLATE void!

-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/no-icon-legend-with-layer-of-postgis-in-v3.2-tp18641399p18649880.html
Sent from the pmapper users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] search for...

2008-07-12 Thread Salvator*eL*arosa



pag66 wrote:
 
 Try to use this 
 metadata
  LAYER_ENCODING UTF-8
 end 
 in your layer definition 
 I think it solve your problem
 

Thanks for your reply, but it don't work for me!

My pm_debug is:

[12-Jul-2008 15:05:04] P.MAPPER debug info 
Searcharray in search.php-getSearchParameters() 
 Array
(
[nome] = SANT\'ANGELO LE FRATTE
[mode] = search
[PHPSESSID] = 2ff4c48f24cec5f8a11633fccc7744d9
)

[12-Jul-2008 15:05:04] P.MAPPER debug info 
Parameters for searchArray 
file: query.php-q_execAttributeQuery 

 Array
(
[nome] = SANT\'ANGELO LE FRATTE
[mode] = search
[PHPSESSID] = 2ff4c48f24cec5f8a11633fccc7744d9
)

[12-Jul-2008 15:05:04] P.MAPPER debug info 
 P.MAPPER Warning: no UNIQUE field specified for PostGIS table
'public.comuni_pit'. Trying using OID field...
[12-Jul-2008 15:05:04] P.MAPPER debug info 
P.MAPPER-DEBUG: squery.php/dumpPGQueryResults() - SQL Cmd:
 SELECT gid, 
 xmin(box3d(the_geom)), 
 ymin(box3d(the_geom)), 
 xmax(box3d(the_geom)), 
 ymax(box3d(the_geom)), 
 nome,istat 
FROM public.comuni_pit 
   WHERE   nome = 'SANT\\\'ANGELO LE FRATTE' 
   LIMIT 301


Bye


-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/search-for...-tp17648809p18418496.html
Sent from the pmapper users mailing list archive at Nabble.com.


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] search for...

2008-07-12 Thread Salvator*eL*arosa



Armin Burger-2 wrote:
 
 seems there are a bit too many escaping backslashes added. Check your 
 php.ini file for
 
magic_quotes_gpc
 and
magic_quotes_runtime
 
 and if they're set to On, try to set them to Off and see if the problem 
 still appears.
 
 Armin
 
 On 12/07/2008 13:12, Salvator*eL*arosa wrote:
 
 
 pag66 wrote:
 Try to use this 
 metadata
  LAYER_ENCODING UTF-8
 end 
 in your layer definition 
 I think it solve your problem

 
 Thanks for your reply, but it don't work for me!
 
 My pm_debug is:
 
 [12-Jul-2008 15:05:04] P.MAPPER debug info 
 Searcharray in search.php-getSearchParameters() 
  Array
 (
 [nome] = SANT\'ANGELO LE FRATTE
 [mode] = search
 [PHPSESSID] = 2ff4c48f24cec5f8a11633fccc7744d9
 )
 
 [12-Jul-2008 15:05:04] P.MAPPER debug info 
 Parameters for searchArray 
 file: query.php-q_execAttributeQuery 
 
  Array
 (
 [nome] = SANT\'ANGELO LE FRATTE
 [mode] = search
 [PHPSESSID] = 2ff4c48f24cec5f8a11633fccc7744d9
 )
 
 [12-Jul-2008 15:05:04] P.MAPPER debug info 
  P.MAPPER Warning: no UNIQUE field specified for PostGIS table
 'public.comuni_pit'. Trying using OID field...
 [12-Jul-2008 15:05:04] P.MAPPER debug info 
 P.MAPPER-DEBUG: squery.php/dumpPGQueryResults() - SQL Cmd:
  SELECT gid, 
  xmin(box3d(the_geom)), 
  ymin(box3d(the_geom)), 
  xmax(box3d(the_geom)), 
  ymax(box3d(the_geom)), 
  nome,istat 
 FROM public.comuni_pit 
WHERE   nome = 'SANT\\\'ANGELO LE FRATTE' 
LIMIT 301
 
 
 Bye
 
 
 -
 Salvatore Larosa
 GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
 
 
 -
 Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
 Studies have shown that voting for your favorite open source project,
 along with a healthy diet, reduces your potential for chronic lameness
 and boredom. Vote Now at http://www.sourceforge.net/community/cca08
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 

Thank you very much, the problem is disappears!

-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/search-for...-tp17648809p18419253.html
Sent from the pmapper users mailing list archive at Nabble.com.


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] msencrypt problem

2008-07-12 Thread Salvator*eL*arosa



pag66 wrote:
 
 Hello forum I'm trying  the msencrypt from mapserver 5.0.3 in my map. It
 works fine but when i try to make a query dont show me any result. 
 anybody know why it's happen?
 
 
HI, 

What kind of error gives you?
See the log file!

-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/msencrypt-problem-tp18388965p18421450.html
Sent from the pmapper users mailing list archive at Nabble.com.


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] search for...

2008-06-17 Thread Salvator*eL*arosa



Salvator*eL*arosa wrote:
 
 Hello everyone,
 I have a problem with apostrophes in research
 an attribute!
 The fields with SANT'ANTONIO, SANT'AGATA produce
 no result!
 
 Someone knows how can I fix?
 


Someone has some ideas about?

Thanks!

-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/search-for...-tp17648809p17942108.html
Sent from the pmapper users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] pmapper search help

2008-06-10 Thread Salvator*eL*arosa



Francesco Tomei wrote:
 
 Hi all,
 I'm trying to go through with a search in pmapper using two connected
 field. I've read the examples in the manual but I didn't get through.
 I'd like to know exactly how to use the suggest and options operator
 in order to have a list of value selectable in one field depending on the
 value chosen  in the first list of value of another field. At the moment
 I'm able to do only the first part of the query with the suggest
 operator, but once I've selected a value 
 I didn't get any restriction in the second list. 
 I there any documentation about?
 I hope to have correctly explained the problem.
 Thanks in advance,
 Francesco 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 

If I have understood your problem should resolve this:

searchitem name=pt_oopp_point description=PT_OOPP
layer type=postgis name=pt_oopp_point
field type=s name=comune description=Comune 
wildcard=2
definition type=options connectiontype=db 
sort=asc
firstoption=*
dsn
encoding=UTF-8pgsql://postgres:[EMAIL PROTECTED]/PIT_LISUT/dsn
sqlSELECT DISTINCT comune,comune FROM 
pt_oopp_point WHERE comune
is NOT NULL ORDER BY comune/sql
dblayer encoding=ISO-8859-1 
keyfield=comune
showfield=comune/
   
eventsonchange=resetSuggestCache();$('#pmsfld_pt_opp_1').val('')/events
/definition
/field
field type=s name=descrizion description=Descrizione
wildcard=2
definition type=suggest connectiontype=db 
sort=asc
minlength=1 dependfld=cmcncd
dsn
encoding=UTF-8pgsql://postgres:[EMAIL PROTECTED]/PIT_LISUT/dsn
sqlSELECT DISTINCT descrizion FROM 
pt_oopp_point WHERE descrizion
~* '^[search]' ORDER BY descrizion/sql
   
eventsonchange=resetSuggestCache();$('#pmsfld_pt_opp_1').val('')/events
/definition 
/field 
/layer
/searchitem

The code above is on a layer PostGIS!

Bye


-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/pmapper-search-help-tp17743645p17754101.html
Sent from the pmapper users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] map not load with session.use_cookies=0

2008-06-05 Thread Salvator*eL*arosa



zucchiatti wrote:
 
 Hi Armin and folks
 
 I have download the last pmapper-dev and stable version.
 After install I have change session.use_cookies=0 in php.ini.
 When load map I have an error:
 
 Warning:  require_once(/common.php): failed to open stream: No such file
 or directory in /srv/www/htdocs/map/incphp/js_custom.php on line 12.
 
 I have recheck php.ini conf but seems ok. I have also used resetsession=Y.
 In the previous version
 the session settings worked.
 
 It seems that resetting the session will also reset $ _SESSION [
 'PM_INCPHP'] and other session variables.
 It should clear the variables only if you use another config.
 
 Thanks
 
 
 
 
 
 


It seems a permissions issue!

Have you checked if the folder has all
permissions?

If you use Linux:
chmod 777 / path_to_pmapper_dev

bye

-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/map-not-load-with-session.use_cookies%3D0-tp17667353p17669776.html
Sent from the pmapper users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] search for...

2008-06-04 Thread Salvator*eL*arosa

Hello everyone,
I have a problem with apostrophes in research
an attribute!
The fields with SANT'ANTONIO, SANT'AGATA produce
no result!

Someone knows how can I fix?

-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/search-for...-tp17648809p17648809.html
Sent from the pmapper users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] option and operator definition in xml

2008-05-28 Thread Salvator*eL*arosa



pag66 wrote:
 
 The search that i send you is made for use with postgis and options value
 if it dont work for you you first should try to read the log, because
 there show all the errors of the program, then it's more easy know where
 you have the problem try to paste here the error that you have into your
 log file to give you a hand
 
 

hi,

I have resolved!

For Option:

searchitem name=comuni description=Comuni
layer type=postgis name=comuni
field type=s name=nome description=Nome Comune 
wildcard=2
definition type=options connectiontype=db 
sort=asc
firstoption=*
dsn 
encoding=UTF-8pgsql://postgres:[EMAIL PROTECTED]/miodb/dsn
sqlSELECT DISTINCT nome,nome FROM 
comuni WHERE nome is NOT NULL ORDER
BY nome/sql
dblayer encoding=ISO-8859-1 
keyfield=nome showfield=nome/
/definition
/field
/layer
/searchitem

For Suggest:

searchitem name=loc description=Località
layer type=postgis name=loc
field type=s name=denom description=Denominazione 
wildcard=2
definition type=suggest connectiontype=db 
sort=asc
minlength=1 dependfld=cmcncd
dsn
encoding=UTF-8pgsql://postgres:[EMAIL PROTECTED]/miodb/dsn
sqlSELECT DISTINCT denom FROM loc WHERE 
denom ~* '^[search]' ORDER
BY denom/sql
/definition 
/field 
/layer
/searchitem

And for Operator:

  searchitem name=geog description=Popolazione
layer type=postgis name=geog
field type=n name=pop description=Popolazione
definition type=operator
dsn
encoding=UTF-8pgsql://postgres:[EMAIL PROTECTED]/PIT_LISUT/dsn
sqlSELECT DISTINCT pop FROM geog ORDER BY 
pop/sql
option name=gt; value=gt;/
option name== value==/
option name=lt; value=lt;/
 /definition
/field
/layer
/searchitem

Thanks!

-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/option-and-operator-definition-in-xml-tp17491766p17507700.html
Sent from the pmapper users mailing list archive at Nabble.com.


-
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


Re: [pmapper-users] Legend and TOC on different sides

2008-05-24 Thread Salvator*eL*arosa



Armin Burger-2 wrote:
 
 For my tests it worked correctly, but there might be some situations
 where overlapping Ajax requests did not end in the correct order. I
 will see if I will implement the possibility in the dev version for
 3.3 since I do not want to add things any more to the current nearly
 final 3.2
 
 armin
 
 On Dec 5, 2007 8:22 AM,  [EMAIL PROTECTED] wrote:

 Armin,

 It seems it works fine except one thing:

 When I activate (click on a checkbox) a layer in TOC, sometime it doesn't
 show in legend untill I activate another layer. I am not able to realize
 teh
 exact behaviour/logic because sometimes it works, sometimes not;
 sometimes
 when I activate another layer both the layers show in legend; sometimes
 it
 stays on legend even I deactivate it, ...

 Otherwise, it looks very good and pretty clearly to users. Really great!

 regards, dejan

 Armin Burger [EMAIL PROTECTED] wrote on 03.12.2007 22:58:25:



   so a quick hack would be
  
   - xmlhttp.js:
  * function updateMap(murl):
add at the end of the function the line:
swapToLegendView();
  
  * updateTocScale(tocurl)
comment out 1 line:
//swapToLegendView();
  
  * function swapLegend(tocurl):
comment out 1 line:
//$('#toc').hide();
  
  
   - map.phtml:
  modify to (take care to set the line breaks again):
  
   !-- WEST --
   div id=west
div id=toclegend class=TOC style=?php echo
   ($_SESSION['userAgent'] == mozilla ? height:100% :
   height:auto;overflow:hidden) ?; display:none;pippo/div
   /div
  
   !-- EAST --
   div id=east class=TOC
!-- LEGEND/TOC --
div id=tocContainer
  form id=layerform method=get action=
div id=toc   class=TOC style=?php echo
   ($_SESSION['userAgent'] == mozilla ? height:100% : height:auto)
   ?;/div
  
  /form
/div
   /div
  
   config(_default).ini:
   legStyle = swap
  
   - js_config.php:
  set values for
Layout.WestWidth   = 200;
Layout.EastWidth   = 200;
Layout.MarginInnerVertW  = 8;
  
   This way it should work...
  
   you could rename the modified xmlhttp.js to zxmlhttp.js. This way you
 do
   not risk to get it lost after an upgrade to a newer p.mapper version.
   map.phtml is anyway considered as a usual file for customizations, so
 to
   save it before an upgrade should be clear.
  
   armin
  
  
   [EMAIL PROTECTED] wrote:
   
Good question Armin! It is not simply a curiosity of course. Let's
 say
It is a desirable requirement, so if this is not complicated for
 me
 to
implement (and for you to explain), I would be glad to know.
   
Thanks very much
   
regards, dejan
   
[EMAIL PROTECTED] wrote on 03.12.2007
 19:25:01:
   
  Do you want to simply know it for curiosity in case you once
 might
 want
  it, or do you need it? It is possible but requires minor code
  modifications in a few files (some commenting out and a few new
 lines in
  1 file) to have it customized for a specific application. For
 more
  generic solution it had to be defined in more accurate way.
 
  armin
 
  [EMAIL PROTECTED] wrote:
   Hi,
  
   I have a question that is not pretty important but would still
 like to
   know: is it (simply) possible to have a legend displayed on
 west
and TOC
   on east side of the map?
  
   thanks
  
   regards, dejan
  
   
 -
   SF.Net email is sponsored by: The Future of Linux Business
 White
 Paper
   from Novell.  From the desktop to the data center, Linux is
 going
   mainstream.  Let it simplify your IT future.
   http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
   ___
   pmapper-users mailing list
   pmapper-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/pmapper-users
  
 
 
 
 
 
 -
  SF.Net email is sponsored by: The Future of Linux Business White
 Paper
  from Novell.  From the desktop to the data center, Linux is going
  mainstream.  Let it simplify your IT future.
  http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
  

 
 -
 SF.Net email is sponsored by: The Future of Linux Business White Paper
 from Novell.  From the desktop to the data center, Linux is going
 mainstream.  Let it simplify your IT future.
 http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
 ___
 pmapper-users mailing list
 

[pmapper-users] changing measure distance from km to meters

2008-04-11 Thread Salvator*eL*arosa

Hi at all,

How can i changing units of distance from Kilometers to meters in measure
tool?
I am using p.mapper 3.0!

thanks!

-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/changing-measure-distance-from-km-to-meters-tp16627815p16627815.html
Sent from the pmapper users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] changing measure distance from km to meters

2008-04-11 Thread Salvator*eL*arosa

Hi at all,

How can i changing units of distance from Kilometers to meters in measure
tool?

thanks!

-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/changing-measure-distance-from-km-to-meters-tp16627813p16627813.html
Sent from the pmapper users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Cities Options Suggest?

2008-03-26 Thread Salvator*eL*arosa

Hi at all,

One fast question!

Can i to use the Cities Options Suggest in pmapper 3.1?
For example this:

   searchitem name=cities_options_suggest_dbf description=Cities Options
Suggest
layer type=shape name=cities1eu
field type=s name=ISO2_CODE description=Country
wildcard=2
definition type=options connectiontype=dbase sort=asc
firstoption=*
dbasefile encoding=UTF-8 keyfield=ISO2_CODE
showfield=NAME$/countries.dbf/dbasefile 
   
eventsonchange=resetSuggestCache();$('#pmsfld_NAME').val('')/events 
/definition
/field
field type=s name=NAME description=City wildcard=2
definition type=suggest connectiontype=dbase
minlength=1 startleft=1 dependfld=ISO2_CODE
dbasefile encoding=UTF-8
searchfield=NAME$/cities1eu.dbf/dbasefile 
/definition
/field
/layer
/searchitem

thank!



-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/Cities-Options-Suggest--tp16316210p16316210.html
Sent from the pmapper users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Problems with highlight selected limits of a point on the map

2008-01-21 Thread Salvator*eL*arosa



Guzman-2 wrote:
 
 
 
 Mensaje original
 De: [EMAIL PROTECTED]
 Fecha: 20/01/2008 11:27
 Para: pmapper-users@lists.sourceforge.net
 Asunto: Problems with highlight selected limits
 
 Problems with highlight selected limits
 
 When i do a point query on map i would like that the limits/bounds of 
 that point be highlighted, pmapper include that
 tool but i dont know to how implement it.
 
 Could anybody help me, please? 
 
 sorry for my english i am spanish.
 
 thanks in advance.
 
 
 
 

Hi,
in ./config/common/highlight.map:

# Layer for POINT highlight

CLASS
STYLE
  COLOR -1 -1 -1 ---eidt to trasparency
  OUTLINECOLOR 0 255 255 -add this line
  SYMBOL 'circle' 
  SIZE 10
END
..
I hope it help you!

Bye


-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/Problems-with-highlight-selected-limits-of-a-point-on-the-map-tp14981667p14993099.html
Sent from the pmapper users mailing list archive at Nabble.com.


-
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


Re: [pmapper-users] query

2008-01-11 Thread Salvator*eL*arosa



giuliano petrarulo wrote:
 
 Hi all,
 I'm using p.mapper-3.1 (ms4w package) on linux.
 When I try to query with Identify a pop up is opened but is completely
 void and when I use Autoidentify the layer with query results doesn't come
 into view.
 For each queriable layer as usual I added
 TEMPLATE VOID and  RESULT_FIELDS,  RESULT_HEADERS in METADATA
 Did I miss something else?
 Thanks
 Giuliano
 
 

 
 

Can you to post your mapfile here?
I'm sure that's mistaken, it!


-
Salvatore Larosa
GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2)
-- 
View this message in context: 
http://www.nabble.com/query-tp14754233p14755485.html
Sent from the pmapper users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Modify Print Dialog

2007-12-15 Thread Salvator*eL*arosa



Armin Burger-2 wrote:
 
 http://svn.pmapper.net/trac/wiki/UpgradeInfo#printsettings
 
 Salvator*eL*arosa wrote:
 Hi at all, hi Armin
 
 How can i to edit the print dialog to hidden Create PDF?
 
 thank in advanced
 
 
 
 

thanks for reply...

I forgot the print.xml!
-- 
View this message in context: 
http://www.nabble.com/Modify-Print-Dialog-tp14351127p14351812.html
Sent from the pmapper users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] New beta

2007-11-25 Thread Salvator*eL*arosa



Armin Burger wrote:
 
 I put up a new beta v3 for p.mapper. See the details at
 
 http://www.pmapper.net/news.shtml
 
 This should be the last beta before a final release, and mainly bug 
 fixes and small enhancements should be applied until then. If enough 
 people are going to test it the release might be available this year. 
 The version is available as as zip/tar, Debian/Ubuntu package, and as 
 MS4W package.
 
 Armin
 
 PS: and some volunteers are still needed for maintenance of the language 
 settings for BR/PT, CZ, NL, SE.
 urceforge.net/lists/listinfo/pmapper-users
 
 

Great Armin
It is a big good work!

I have tested the new version, it seem be very fast
Very interesting the new functions, too.

Wonderful!
-- 
View this message in context: 
http://www.nabble.com/New-beta-tf4871323.html#a13940200
Sent from the pmapper users mailing list archive at Nabble.com.


-
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


Re: [pmapper-users] selection color

2007-10-19 Thread Salvator*eL*arosa





Walter Lorenzetti-3 wrote:
 
 Hi Salvatore,
 
 in incphp/map.php
 al line 721 try to replace
 
 $iniClr0 = $iniClrList[0];
 $iniClr1 = $iniClrList[1];
 $iniClr2 = $iniClrList[2];
 
 with:
 
 switch ($relayer){

 case layer1_name_in_map_file:
 $iniClr0 = red_rgb_n_color_for_layer1;
 $iniClr1 = green_rgb_n_color_for_layer1;
 $iniClr2 = blue_rgb_n_color_for_layer1;
 break;
 
 case layer2_name_in_map_file:
 $iniClr0 = red_rgb_n_color_for_layer2;
 $iniClr1 = green_rgb_n_color_for_layer2;
 $iniClr2 = blue_rgb_n_color_for_layer2;
 break;
 
 default:
 
 $iniClr0 = $iniClrList[0];
 $iniClr1 = $iniClrList[1];
 $iniClr2 = $iniClrList[2];
 
 
 }
 
 so with this layer1 it'll be painted in selection with first combination
 the layer2 whit the second and other layers with the default color
 selection declared in config.ini
 
 try bye
 
 
 

Thanks for reply but don't work yet! :-(
I have replace your code in map.php as following:

 $newResLayer-set(status, MS_ON);
$newResLayerIdx = $newResLayer-index;

// SELECTION COLOR
$iniClrStr = trim($_SESSION[highlightColor]);
$iniClrList = preg_split('/[\s,]+/', $iniClrStr);
//$iniClr0 = $iniClrList[0];
//$iniClr1 = $iniClrList[1];
//$iniClr2 = $iniClrList[2];
   switch ($relayer){   
   
case bene:
$iniClr0 = 200;
$iniClr1 = 200;
$iniClr2 = 0;
break;


default:

$iniClr0 = $iniClrList[0];
$iniClr1 = $iniClrList[1];
$iniClr2 = $iniClrList[2];


} 

bye
-- 
View this message in context: 
http://www.nabble.com/selection-color-tf4650313.html#a13304328
Sent from the pmapper users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] JOIN from DATA tag

2007-10-19 Thread Salvator*eL*arosa

HI,
How i can do join from data tag in mapfile?

I am working on Webserver IIS and Mapserver, i need
join a table postgresql. I have tried with:

RESULT_JOIN
pgsql://postgres:[EMAIL PROTECTED]/postgres||[EMAIL PROTECTED]@[EMAIL 
PROTECTED]||codicom||0,
but it don't workthe log is:

[19-Oct-2007 09:10:20] PHP Fatal error:  DQuery::require_once() [
function.require function.require ]: Failed opening required 'DB.php'
(include_path='.;\ms4w\Apache\php\PEAR') in
C:\Inetpub\wwwroot\webgis\incphp\query\squery.php on line 282

thanks and sorry my english
-- 
View this message in context: 
http://www.nabble.com/JOIN-from-DATA-tag-tf4651576.html#a13289726
Sent from the pmapper users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] selection color

2007-10-18 Thread Salvator*eL*arosa

hi list,
i need to change the color at the layer selected, it is possible?

for example:
layer1
layer2

for layer1 the color selection will be red
for layer1 the color selection will be green

I have tried to edit map.php but without success..

know somebody it?

Thanks
-- 
View this message in context: 
http://www.nabble.com/selection-color-tf4650313.html#a13285723
Sent from the pmapper users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] search.xml????

2007-10-07 Thread Salvator*eL*arosa



Salvator*eL*arosa wrote:
 
 Hi at all, hi Armin,
 
 I am a problem, a big problem with search function!
 I'm unable to configuring file search.xml, when i use identify
 tool on the map it get me NO MATCH FOUND, why?
 
 My search.xml file:
 ?xml version='1.0'?
 !-- ?xml-stylesheet href=style.xsl type=text/xsl ? --
 
 searchlist version=1.0
 
 dataroot../../../data/shp/dataroot
 
 searchitem name=Comuni description=Comuni
 layer type=shape name=Comuni
 field type=s name=NOME description=Comune  wildcard=0
 /
 /layer
 /searchitem
 /searchlist 
 My data root is located in: C\ms4w\Apache\htdocs\data\shp
 and my shpfile is: Comuni.shp, Comuni.shx, Comuni.dbf
 
 Why i don't can look info?
 Can somebody hep me?
 
 Thanks!
 

it's possible to use the search function of the version 3.0 in 3.1 (stable)?

I don't know the way to using the search.xml.
-- 
View this message in context: 
http://www.nabble.com/search.xml-tf4581569.html#a13086674
Sent from the pmapper users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] search.xml????

2007-10-06 Thread Salvator*eL*arosa

Hi at all, hi Armin,

I am a problem, a big problem with search function!
I'm unable to configuring file search.xml, when i use identify
tool on the map it get me NO MATCH FOUND, why?

My search.xml file:
?xml version='1.0'?
!-- ?xml-stylesheet href=style.xsl type=text/xsl ? --

searchlist version=1.0

dataroot../../../data/shp/dataroot

searchitem name=Comuni description=Comuni
layer type=shape name=Comuni
field type=s name=NOME description=Comune  wildcard=0
/
/layer
/searchitem
/searchlist 
My data root is located in: C\ms4w\Apache\htdocs\data\shp
and my shpfile is: Comuni.shp, Comuni.shx, Comuni.dbf

Why i don't can look info?
Can somebody hep me?

Thanks!
-- 
View this message in context: 
http://www.nabble.com/search.xml-tf4581569.html#a13078608
Sent from the pmapper users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] search.xml????

2007-10-06 Thread Salvator*eL*arosa



Salvator*eL*arosa wrote:
 
 Hi at all, hi Armin,
 
 I am a problem, a big problem with search function!
 I'm unable to configuring file search.xml, when i use identify
 tool on the map it get me NO MATCH FOUND, why?
 ...
 
 

:-)))
Sorry!
I am not a problem!

am=have.

:-P
-- 
View this message in context: 
http://www.nabble.com/search.xml-tf4581569.html#a13078666
Sent from the pmapper users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] pmapper3.0 and infoWin?

2007-06-19 Thread Salvator*eL*arosa



Armin Burger wrote:
 
 at least in the latest stable of 3.0 this problem does not appear for 
 clicking on the 'Search' button, just in case you hit 'return' when 
 being with the cursor in the input field.
 
 armin
 
 
 
 

thanks very much for reply.
I have resolved  replacing some file from p.mapper 3.0.1 version
but hiting return don't work, yet.
I'm at the end of the job, therefore cannot to pass at newest version of
p.mapper
it would involve a lot time to edit the new file (templates, map.php ecc
ecc) to adjust
my appearances in layout.


-- 
View this message in context: 
http://www.nabble.com/pmapper3.0-and-infoWin--tf3939642.html#a11203134
Sent from the pmapper users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] pmapper3.0 and infoWin?

2007-06-18 Thread Salvator*eL*arosa

Hi at all, 
In my project, for displaying query result , i have choose infoWin=frame
in confing.ini.
With identify and selection tools work fine, which with search Form no!

When i click on search button, i view the result of the info in infoZone,
but at the same time
i get a window with url:
http://debian/SISNCMS/blank.html?findlist=%23%23cod_cai=400qlayer=sentieriPHPSESSID=c4733d468afe4ee0f0110a3cf523cf54

My question is:

How can i do not displaying it?

Sorry my english and thanks for reply!
-- 
View this message in context: 
http://www.nabble.com/pmapper3.0-and-infoWin--tf3939642.html#a11173755
Sent from the pmapper users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] pmapper3.0 and infoWin?

2007-06-18 Thread Salvator*eL*arosa



Salvator*eL*arosa wrote:
 
 Hi at all, 
 In my project, for displaying query result , i have choose infoWin=frame
 in confing.ini.
 With identify and selection tools work fine, which with search Form no!
 
 When i click on search button, i view the result of the info in infoZone,
 but at the same time
 i get a window with url:
 http://debian/SISNCMS/blank.html?findlist=%23%23cod_cai=400qlayer=sentieriPHPSESSID=c4733d468afe4ee0f0110a3cf523cf54
 
 My question is:
 
 How can i do not displaying it?
 
 Sorry my english and thanks for reply!
 

This is my submitSearch function:

function submitSearch() {
var searchForm = _$('searchForm');
if (infoWin == 'frame') {
searchForm.target='infoFrame';
} else {
var skvp = getFormKVP('searchForm');
//alert(skvp);
var resultwin = openResultwin('blank.html');
searchForm.target='resultwin';

var queryurl = PM_XAJAX_LOCATION + 'x_info.php?' + skvp +
'mode=search';
//alert(queryurl);
getQueryResult(queryurl, '');
}
}

-- 
View this message in context: 
http://www.nabble.com/pmapper3.0-and-infoWin--tf3939642.html#a11173850
Sent from the pmapper users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] ManualExtent!

2007-04-10 Thread Salvator*eL*arosa



Gaston Izaguirre wrote:
 
 Salvatore,
 I'm using pmapper 3.1 and the manual extent works fine, also I tried with 
 pmapper 3.0. The application starts with this parameter: 
 me=-58.5376456439,-34.67612506176,-58.3504205849,-34.5405354852
 which 
 is passed to map.phtml as a whole string.
 Did you try to asign to the *startParameters* parameter the values for the 
 Manual Extent ?
 Something like:
 
 startParameters = me= + Xmin + , + Ymin + , + Xmax + , + Ymax;
 
 Regards,
 Gaston.
 
 Obs.: I don't know if the space character after the starting  in  
 winsize= has incidence in the behavior of your application.
 
 
 
 
 

Thank you for reply, but don't work , yet!
I tried to insert parameter me withuot variable in start.html  it's
working.
In strat.html:

myw=window.open(map.phtml?me=+2631178+,+4328415+,+2651178+,+4348415+
winsize= + winsize + language= + gLanguage + config= + config + 
startParameters, MapServerTestSuite, width= + winwidth + ,height= +
winheight +
,menubar=no,scrollbar=auto,resizable=no,top=0,left=0,status=yes);
In my application:
Xmin= Number(document.zoom2point.X.value)-a;
Ymin= Number(document.zoom2point.Y.value)-a;
Xmax= Number(document.zoom2point.X.value)+a;
Ymax= Number(document.zoom2point.Y.value)+a;
myw=window.open(map.phtml?me=+ Xmin +,+ Ymin +,+ Xmax +,+ Ymax +
winsize= + winsize + language= + gLanguage + config= + config + 
startParameters, MapServerTestSuite, width= + winwidth + ,height= +
winheight +
,menubar=no,scrollbar=auto,resizable=no,top=0,left=0,status=yes);
  }

I tried with startParameter but withuot success!
-- 
View this message in context: 
http://www.nabble.com/ManualExtent%21-tf3510901.html#a9916473
Sent from the pmapper users mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] ManualExtent!

2007-04-03 Thread Salvator*eL*arosa

HI,
A simple ask:
in pmapper 1.2 this function works good:
//CODE/
function openFramesZoom(sizevals, gLanguage, config, startParameters){
var sizearray = sizevals.split('#');
var winwidth  = parseInt(sizearray[0]);
var winheight = parseInt(sizearray[1]);
var winsize   = sizearray[2];
var re_emptyall = new RegExp(^[ ]*$);
var re_not_number = new RegExp([^0-9]);
var X = document.zoom2point.X;
var Y = document.zoom2point.Y;
var e = document.zoom2point.extent;
if (re_emptyall.test(X.value)) {
   alert(La coordinata X e\' obbligatoria);
   X.focus();
   return false;
   }
if (re_not_number.test(X.value)) {
   alert(Accetto solo Numeri!);
   X.focus();
   return false;
   }
if (re_emptyall.test(Y.value)) {
   alert(La coordinata Y e\' obbligatoria);
   Y.focus();
   return false;
   }
if (re_not_number.test(Y.value)) {
   alert(Accetto solo Numeri!);
   Y.focus();
   return false;
   }
if ((e.value != )(e.value==0 ||
re_not_number.test(e.value))document.zoom2point.C1.checked) {
   alert(Accetto solo Numeri diversi da 0 e positivi!);
   e.focus();
   return false;
   }
if (re_emptyall.test(e.value)document.zoom2point.C1.checked) {
   alert(Devi inserire un numero!);
   e.focus();
   return false;
   }
if (document.zoom2point.C1.checked){
a = Number(document.zoom2point.extent.value)/(7.3*1.862385);
}
else{
a = 15/(7.3*1.862385);
}
Xmin= Number(document.zoom2point.X.value)-a;
Ymin= Number(document.zoom2point.Y.value)-a;
Xmax= Number(document.zoom2point.X.value)+a;
Ymax= Number(document.zoom2point.Y.value)+a;
   
myw=window.open(frameview.phtml?zoomExtent=+Xmin+++Ymin+++Xmax+++Ymax+
winsize= + winsize + language= + gLanguage + config= + config +
startParameters, MapServerTestSuite, width= + winwidth + ,height= +
winheight +
,menubar=no,scrollbar=auto,resizable=no,top=0,left=0,status=yes);
  }
CODE/
Now in pmapper 3.0 not works!
I must replace frameview.phtml?zoomExtent= in
map.phtml?me=+Xmin+++Ymin+++Xmax+++Ymax+ ?
Can somebody help me?
Thanks

-- 
View this message in context: 
http://www.nabble.com/ManualExtent%21-tf3510901.html#a9806994
Sent from the pmapper users mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Creazione di un help

2007-03-16 Thread Salvator*eL*arosa



anto_gis wrote:
 
 Ciao a tutti,
 vorrei creare in pmapper un help che venga visualizzato quando viene
 premuto un tasto(EX: F9 oppure H).
 Qualcuno sa come aiutarmi??
 Grazie a presto Antonio
 
 
 
 
 
This ML is in English language!
-- 
View this message in context: 
http://www.nabble.com/Creazione-di-un-help-tf3414171.html#a9514609
Sent from the pmapper users mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Black screen

2007-03-15 Thread Salvator*eL*arosa



Norbert Billet wrote:
 
 
 
 Yes, I look in the apache error log file, but processing a new pmapper
 session not create an error ... and the map screen stay black
 
 
 

You tries to control the permissions! It can be this, for your distraction.
bye...
-- 
View this message in context: 
http://www.nabble.com/Black-screen-tf3407475.html#a9494737
Sent from the pmapper users mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users