[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] problem in pmapper 4.0 beta2

2009-05-27 Thread Armin Burger
On 27/05/2009 17:04, marcozani...@geosweb.it wrote:
> 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
> 

Ciao Marco

Are you sure that you're using exactly the same configurations (map 
file, config files, etc) for both versions? Difficult to imagine what 
should cause this problem. White map images without errors typically 
mean that the layers are not drawn (so not set to on) or that the map 
extent is completely wrong. I would check the session variables for 
"groups" and the "geoext" (under 'utils' there is a readsession.php file 
that facilitates the readability).

armin


--
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] group names in the category list

2009-05-27 Thread Armin Burger
On 27/05/2009 14:33, Micha Silver wrote:
> I've gotten off to a good start with pmapper 4.0 running on a CentOS 5.3 
> (64 bit) server, with mapserver 5.4.0.
> 
> I see in the TOC that my categories appear, with the groups/layers in 
> the list as I set up in the config-default.xml file. However I notice 
> that the names that appear under each category are NOT the group names, 
> but rather the name of the first layer in that group.
> 
> For example, I have in my mapserver map file some stream layers: 
> 'n_streams' and 's_streams'  both with the
> 
> GROUP 'streams'
> 
> directive in the mapfile. I added that group to the xml file, and it 
> indeed appears, but named 'n_streams' rather than 'streams'.
> 
> Any way to fix this? Have I missed something in my configuration?
> 
> Thanks,
> 

Micha

I updated the initgroups.php file to take the group name and not the 
name of the 1st layer. You can get it from svn/trac via

http://svn.pmapper.net/trac/browser/pmapper/trunk/pmapper/incphp/initgroups.php?format=txt

Nevertheless,  I would recommend to use the

"DESCRIPTION" "My Layer/Group Name in TOC"

entry under LAYER - METADATA in the map file. Layer and group names in 
p.mapper cannot have blanks, so if you need that you have to define the 
description tag anyway.

armin

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


Re: [pmapper-users] data types for search.xml

2009-05-27 Thread Armin Burger
Dejan

I think querying an OGR layer based on Esri personal geodb uses
completely different mechanisms behind than querying layers based on
x/y values stored in an ODBC enabled DB. All should work using the
syntax of layers based on shapes, but some parts seem not.

In my opinion the whole queryByAttribute and filter part (which for me
is a quite essential part) is of low importance to the Mapserver
developers, old bugs, an incomplete documentation and so on. Other
things like placing labels in sophisticated ways seem to have somewhat
higher importance.

armin

On Wed, May 27, 2009 at 9:11 AM,   wrote:
> Great you succeed George,
>
> I am still struggling (more for curiosity :-) with trying to query my ovf
> data source (MS Access) by attribute that is x/y coordinate. I have even
> tried to turn on ODBC tracing/logging but the log file stays empty, I
> don't know why...
>
> dejan
>
> "McCown, George"  wrote on 26.05.2009 20:54:23:
>
>> After reading your reply again, I followed
>> your suggestion. Layer types named "shape"
>> work for personal geodatabases too.
>>
>> Thanks
>>
>> -Original Message-
>> From: Armin Burger [mailto:armin.bur...@gmail.com]
>> Sent: Thursday, May 21, 2009 3:41 PM
>> To: McCown, George
>> Cc: pmapper-users@lists.sourceforge.net
>> Subject: Re: [pmapper-users] data types for search.xml
>>
>> This is what's written for OGR layers at
>> http://www.mapserver.org/input/vector/ogr.html#queries-through-ogr-forma
>> t"
>>
>> "OGR layers can be queried the same way as regular shapefiles in
>> MapServer."
>>
>> Don't know if it's true for all cases of OGR supported formats. But just
>>
>> define type as "shape" and see what you get.
>>
>> armin
>>
>>
>> On 21/05/2009 19:42, McCown, George wrote:
>> > I noted the possible data types are : "shape", "postgis", "xy",
>> > "oracle".
>> >
>> > I believe these are the limitations of the json string.
>> >
>> >
>> >
>> > I'm looking for a way for the pmapper search engine to work for
>> >
>> > Personal Geodatabases that uses MS Access files.  Has anyone
>> >
>> > attempted this?
>> >
>> >
>> >
>> >
>> >
>> >
>> > This email and any files transmitted with it are intended solely for
>> the use of the individual and/or entity to whom it is addressed. Unless
>> noted otherwise above, any distribution or copying of this email is
>> strictly prohibited. This email IS NOT a binding agreement on behalf of
>> JJG.  If you have received this message in error, please immediately
>> notify the sender and delete this message from your computer.
>> > Jordan, Jones and Goulding, Inc., 6801 Governors Lake Pkwy, Norcross,
>> Ga. 30071   www.jjg.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
>> >
>>
>>
>> This email and any files transmitted with it are intended solely for
>> the use of the individual and/or entity to whom it is addressed.
>> Unless noted otherwise above, any distribution or copying of this
>> email is strictly prohibited. This email IS NOT a binding agreement
>> on behalf of JJG.  If you have received this message in error,
>> please immediately notify the sender and delete this message from
>> your computer.
>> Jordan, Jones and Goulding, Inc., 6801 Governors Lake Pkwy,
>> Norcross, Ga. 30071   www.jjg.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
> --
> 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
> __

Re: [pmapper-users] Watermark/copyright

2009-05-27 Thread Bernhard Hilz
Hi,

if i use only the copyright layer in the mapfile it works. But if i add one 
layer whitch i can toggle in the TOC it disappear when i switch this layer off, 
and it never appear when i switch this layer on.

Bernhard
 Original-Nachricht 
> Datum: Tue, 26 May 2009 22:52:32 +0200
> Von: Armin Burger 
> An: Bernhard Hilz 
> CC: pmapper-users@lists.sourceforge.net
> Betreff: Re: [pmapper-users] Watermark/copyright

> On 26/05/2009 12:53, Bernhard Hilz wrote:
> > Hi !
> > 
> > I use the new pmapper 4 beta2. I tried to add a copyright layer in the
> mapfile. It don´t appear in the map , only when i add it in the config.xml.
> And yes i set the status to default.
> > 
> > Thanks,
> > 
> > Bernhard
> 
> For me this type of setting works. If STATUS DEFAULT is set and it's not 
> listed in the config.xml then the layer will be always displayed. It 
> also works for me with STATUS OFF.
> 
> armin
> 
> --
> 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

-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss 
für nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02

--
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] group names in the category list

2009-05-27 Thread Micha Silver
I've gotten off to a good start with pmapper 4.0 running on a CentOS 5.3 
(64 bit) server, with mapserver 5.4.0.

I see in the TOC that my categories appear, with the groups/layers in 
the list as I set up in the config-default.xml file. However I notice 
that the names that appear under each category are NOT the group names, 
but rather the name of the first layer in that group.

For example, I have in my mapserver map file some stream layers: 
'n_streams' and 's_streams'  both with the

GROUP 'streams'

directive in the mapfile. I added that group to the xml file, and it 
indeed appears, but named 'n_streams' rather than 'streams'.

Any way to fix this? Have I missed something in my configuration?

Thanks,

-- 

Micha


--
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] data types for search.xml

2009-05-27 Thread Dejan . Gambin
Great you succeed George,

I am still struggling (more for curiosity :-) with trying to query my ovf 
data source (MS Access) by attribute that is x/y coordinate. I have even 
tried to turn on ODBC tracing/logging but the log file stays empty, I 
don't know why...

dejan

"McCown, George"  wrote on 26.05.2009 20:54:23:

> After reading your reply again, I followed
> your suggestion. Layer types named "shape"
> work for personal geodatabases too.
> 
> Thanks
> 
> -Original Message-
> From: Armin Burger [mailto:armin.bur...@gmail.com] 
> Sent: Thursday, May 21, 2009 3:41 PM
> To: McCown, George
> Cc: pmapper-users@lists.sourceforge.net
> Subject: Re: [pmapper-users] data types for search.xml
> 
> This is what's written for OGR layers at
> http://www.mapserver.org/input/vector/ogr.html#queries-through-ogr-forma
> t"
> 
> "OGR layers can be queried the same way as regular shapefiles in
> MapServer."
> 
> Don't know if it's true for all cases of OGR supported formats. But just
> 
> define type as "shape" and see what you get.
> 
> armin
> 
> 
> On 21/05/2009 19:42, McCown, George wrote:
> > I noted the possible data types are : "shape", "postgis", "xy",
> > "oracle".
> > 
> > I believe these are the limitations of the json string. 
> > 
> > 
> > 
> > I'm looking for a way for the pmapper search engine to work for 
> > 
> > Personal Geodatabases that uses MS Access files.  Has anyone
> > 
> > attempted this?
> > 
> > 
> > 
> > 
> > 
> > 
> > This email and any files transmitted with it are intended solely for
> the use of the individual and/or entity to whom it is addressed. Unless
> noted otherwise above, any distribution or copying of this email is
> strictly prohibited. This email IS NOT a binding agreement on behalf of
> JJG.  If you have received this message in error, please immediately
> notify the sender and delete this message from your computer.
> > Jordan, Jones and Goulding, Inc., 6801 Governors Lake Pkwy, Norcross,
> Ga. 30071   www.jjg.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
> > 
> 
> 
> This email and any files transmitted with it are intended solely for
> the use of the individual and/or entity to whom it is addressed. 
> Unless noted otherwise above, any distribution or copying of this 
> email is strictly prohibited. This email IS NOT a binding agreement 
> on behalf of JJG.  If you have received this message in error, 
> please immediately notify the sender and delete this message from 
> your computer.
> Jordan, Jones and Goulding, Inc., 6801 Governors Lake Pkwy, 
> Norcross, Ga. 30071   www.jjg.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
--
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