[pmapper-users] Drawing Plugin - Export function

2016-05-19 Thread Alexandre Oliveira
Hi,

I´m trying to implement th Drawing Plugin but the Export button doesn't
work, I clicj in the button but nothing, unlike the Import that works.

Anyone try to implement it?

Thanks
Alex
--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Drawing plugin adaptation

2016-01-22 Thread Bruno Moreira
Int: 1669/DSIQ/2015
Hi,

I'm trying to develop a new plugin that saves info to database.
My aim is to create several plugins based on Drawing Plugin, and make them work 
at the same time, each saving different type of information to database.

What should I do to build my own plugin?
What should I change in Drawing Plugin to build my own?

Thank you

Bruno Moreira
Especialista de Informática

[cid:image003.jpg@01D15514.E93F4640]

Câmara Municipal de Santiago do Cacém | Town Hall of Santiago do Cacém
Divisão de Sistemas de Informação e Qualidade | Information Systems and Quality 
Unit
Informática - Information Technologies Service

Praça do Município | 7540-136 Santiago do Cacém | Portugal
Tel.: +351 269 829 400 Ext.: ( 5509 ) |Tel. Direto: +351 269 829 456
Fax: +351 269 829 498
E-mail: d...@cm-santiagocacem.pt



ge...@cm-santiagocacem.pt | 
www.cm-santiagocacem.pt
www.facebook.com/munsantiagocacem | 
https://twitter.com/#!/cmsantiagocacem


Este e-mail pretende ser amigo do ambiente. Pondere antes de o imprimir.
This e-mail is environment friendly. Please think twice before printing it.

AVISO LEGAL: Esta mensagem é confidencial e dirigida apenas ao destinatário. Se 
a recebeu por erro, solicitamos que o comunique ao remetente e a elimine, assim 
como qualquer documento anexo.
Não há renúncia à confidencialidade nem a nenhum privilégio devido a erro de 
omissão.
DISCLAIMER: This message is confidential and intended exclusively for the 
address. If you received this message by mistake, please inform the sender and 
delete the message and attachments.
No confidentiality nor any privilege regarding the information is waived or 
lost any mistransmission.


#
Esta mensagem de e-mail foi verificada para Vírus e Conteúdo pelo MailMarshal
#
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Drawing plugin ignores session clientDynamicLayers data

2015-01-29 Thread Andreas Douvalis
I think that drawing plugin ignores session clientDynamicLayers data!

That means that if you close and reopen page-tab (without close browser and 
losing session) the drawing_TableContent does not include ex-drawing objects!

Am I right? 

I suppose that I have to modify drawing.js to get objects list from session 
clientDynamicLayers data.

Please help if there is something missing!
Thanks in advance.

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Drawing plugin - Dissapear objects

2013-04-22 Thread Cristian Balbontin
Hi Thomas, thanks for your advise.

I tried draw other circles but they dissapear for any scale of the map
viewable. The circle units are meters but my map extent are dd (wgs84). Is
it the problem??
I'll try updating versions of pmapper and MapServer. Later I send to you my
comments.

Best Regards,



2013/4/22 Thomas RAFFIN 

> Hi,
>
> Could you test this please: try to zoom a lot and the new circles you
> will draw will maybe appear if there are fully contained in the map
> viewable extent.
>
> In more recent version of pmapper we have rewritten the way to draw
> circle. So the circles are drawn, but you can't add comments on them...
>
> I think you should update your pmapper and MapServer versions...
>
> Thomas
>
>
>
> Thomas RAFFIN
> Chef de Projet Internet
> traf...@sirap.fr   Sirap 
>   Tel
> : 04 75 72 84 10
> Fax : 04 75 70 07 98
> Rue Paul Louis Héroult - BP 253
> 26106 Romans cedex
>
>
> --
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Drawing plugin - Dissapear objects

2013-04-22 Thread Thomas RAFFIN
Hi,

Could you test this please: try to zoom a lot and the new circles you 
will draw will maybe appear if there are fully contained in the map 
viewable extent.

In more recent version of pmapper we have rewritten the way to draw 
circle. So the circles are drawn, but you can't add comments on them...

I think you should update your pmapper and MapServer versions...

Thomas

Le 22/04/2013 14:28, Cristian Balbontin a écrit :
> Hi guys, I am using pmapper 4.2 with mapserver 6.0.2 (MS4W 3.0.4) on
> Windows 7.
>
> You know why the objects (Circles and Comments/Annotations) are disappears,
> I attached screenshoot showing the problem.
> The objects are drawing OK, but at refresh the map they are hiding
> How can I solved this problem??
> Best Regards,
>
>
> --
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
>
>
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users

-- 


Thomas RAFFIN
Chef de Projet Internet
traf...@sirap.fr   Sirap  
Tel 
: 04 75 72 84 10
Fax : 04 75 70 07 98
Rue Paul Louis Héroult - BP 253
26106 Romans cedex

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Drawing plugin - Dissapear objects

2013-04-22 Thread Cristian Balbontin
Hi guys, I am using pmapper 4.2 with mapserver 6.0.2 (MS4W 3.0.4) on
Windows 7.

You know why the objects (Circles and Comments/Annotations) are disappears,
I attached screenshoot showing the problem.
The objects are drawing OK, but at refresh the map they are hiding
How can I solved this problem??
Best Regards,
<>--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Drawing plugin

2013-02-08 Thread Chris forum
More on that...
"Annotation layers are deprecated in 6.2 and will probably be removed in a
future version."
For the layer "drawAnnotation", simply replace TYPE ANNOTATION by TYPE POINT

I have also added POSTLABELCACHE ON to all the drawing layers, so that they
are on top of other layers

And to limit the comment length to 30 characters for instance, insertTXT
has been modified like this in drawing_base.js:
insertTxt: function(point) {
jg.setFont(this.fontFamily,this.fontSize,this.fontStyle); //set
font-family, -size and -style values

var insertTxt = prompt(*(_p('Add comment:')+ '\n \t (' + _p('30
char. max') + ')'), ''*); //user can enter his text
if (insertTxt == null) {
 insertTxt = '';
}
*else if (insertTxt.length > 30)**
 insertTxt = insertTxt.substring(0,30); *

Hope that helps

Looking now if there is a way to keep the drawing in the URL of a generated
link...

Cheers,
Chris


On Fri, Feb 8, 2013 at 1:04 PM, Chris forum  wrote:

> Salut Thomas,
>
> Thanx for the fast answer!
>
> 1) My bad, I think I mixed things from what I found in the drawing.js and
> the text displayed... Text is mentionning DEL key to erase last point
> drawn, not ESC as I said, sorry. I will just add the ESC part to the info
> text.
>
> 2) and 3) Will look into that as I am now using MS 6.2, never tried CIRCLE
> object yet. Looks like it needs a bbox to draw the circle inside it, which
> could be an adaptation of the rectangle method...
>
> 4) I did, just mentionned it here for help purpose
>
> 5) I am not using Hatch for drawing, just tried though but it doesn't seem
> to work with the drawing plugin/template.map, while it works fine in the
> main mapfile. See here,
> both the rectangle and the area on its right are using these style values
> (except color):
>   STYLE
>  SYMBOL 'hatch'
>  COLOR 20 20 20
>  ANGLE 135
>  SIZE 5
>  WIDTH 1
>   END
> Same with you?
>
> 6) Had that apache error showing up:
> [Wed Feb 06 16:13:49 2013] [error] [client 10.45.113.9] File does not
> exist:
> /var/www/dev/newgc_svn/pmapper430/images/buttons/chameleon/drawing_off.*
> png*
>
> 7) Can not reproduce the comment length cut today, must have been a side
> effet of the label ANGLE FOLLOW I was trying yesterday with the LINE
> drawing. Will check how to add a max length value.
>
> See you, thanx for this great plugin!
> Chris
>
>
>
>
> On Thu, Feb 7, 2013 at 5:54 PM, Thomas RAFFIN  wrote:
>
>>
>> Le 07/02/2013 17:16, Chris forum a écrit :
>> > Hi all,
>> >
>> > Working on a pmapper 4.3 project, just installed the 'Drawing' plugin.
>> >
>> > Works well,
>>
>> Hi,
>>
>> Thanks
>>
>>
>> > except for some details:
>>
>> :-(
>>
>> >
>> > 1) ESC key doesn't erase the last point of a POLYGON or a LINE (as
>> stated
>> > in the info text), but the entire drawing
>>
>> I will check the text. The key should be :
>> - DEL to remove the last point
>> - ESC to delete the entire drawing
>>
>> > 2) For the CIRCLE, there is no window poping up letting us adding a
>> > comment. Must be an issue with that layer, as the Labelitem tag was
>> > commented in the source. Any more info on that?
>>
>> We didn't know how to draw circle (it was with MS 5.4) except like it is
>> done in the template.map (see "drawCircle" layer) : unit is meter and
>> size is the radius value. If you have an other solution, feel free to
>> post it.
>>
>>
>> > 3) If the map is panned and the center of a CIRCLE is no more visible,
>> the
>> > entire circle is not displayed
>>
>> Yes, due to point 2...
>>
>>
>> > 4) It misses an offset (0 -14 in my project) not to have the POINT
>> hidden
>> > behind its label
>>
>> Feel free to change the template.map, the symbols, etc... in your project.
>>
>> > (5) Styles have to be modified if using Mapserver 6, no symbol needed
>> > anymore for polygons or lines)
>>
>> Does it works with hatched polygons in your project?
>>
>> > (6) Code is waiting for .png image button, .gif provided ;)
>>
>> Where please?
>>
>> >
>> > Did anyone encountered the same and found a way to solve points 1), 2)
>> and
>> > 3)?
>>
>> 1: just change the language file.
>> 2 and 3: try to change the layer type from point to circle and customize
>> the template.map. But I remember other bugs due to small or big scales...
>>
>> >
>> > Finally, where is stated the max length of a comment? Looks like text
>> with
>> > lots of characters are not displayed, which is good, but I would like to
>> > add it to the info text.
>>
>> How many characters for instance please?
>>
>> >
>> > Thanx
>> > Chris
>>
>> Bye
>>
>> Thomas
>>
>> >
>> --
>> > Free Next-Gen Firewall Hardware Offer
>> > Buy your Sophos next-gen firewall before the end March 2013
>> > and get the hardware for free! Learn more.
>> > http://p.sf.net/sfu/sophos-d2d-feb
>> > __

Re: [pmapper-users] Drawing plugin

2013-02-08 Thread Chris forum
Salut Thomas,

Thanx for the fast answer!

1) My bad, I think I mixed things from what I found in the drawing.js and
the text displayed... Text is mentionning DEL key to erase last point
drawn, not ESC as I said, sorry. I will just add the ESC part to the info
text.

2) and 3) Will look into that as I am now using MS 6.2, never tried CIRCLE
object yet. Looks like it needs a bbox to draw the circle inside it, which
could be an adaptation of the rectangle method...

4) I did, just mentionned it here for help purpose

5) I am not using Hatch for drawing, just tried though but it doesn't seem
to work with the drawing plugin/template.map, while it works fine in the
main mapfile. See here,
both the rectangle and the area on its right are using these style values
(except color):
  STYLE
 SYMBOL 'hatch'
 COLOR 20 20 20
 ANGLE 135
 SIZE 5
 WIDTH 1
  END
Same with you?

6) Had that apache error showing up:
[Wed Feb 06 16:13:49 2013] [error] [client 10.45.113.9] File does not
exist:
/var/www/dev/newgc_svn/pmapper430/images/buttons/chameleon/drawing_off.*png*

7) Can not reproduce the comment length cut today, must have been a side
effet of the label ANGLE FOLLOW I was trying yesterday with the LINE
drawing. Will check how to add a max length value.

See you, thanx for this great plugin!
Chris



On Thu, Feb 7, 2013 at 5:54 PM, Thomas RAFFIN  wrote:

>
> Le 07/02/2013 17:16, Chris forum a écrit :
> > Hi all,
> >
> > Working on a pmapper 4.3 project, just installed the 'Drawing' plugin.
> >
> > Works well,
>
> Hi,
>
> Thanks
>
>
> > except for some details:
>
> :-(
>
> >
> > 1) ESC key doesn't erase the last point of a POLYGON or a LINE (as stated
> > in the info text), but the entire drawing
>
> I will check the text. The key should be :
> - DEL to remove the last point
> - ESC to delete the entire drawing
>
> > 2) For the CIRCLE, there is no window poping up letting us adding a
> > comment. Must be an issue with that layer, as the Labelitem tag was
> > commented in the source. Any more info on that?
>
> We didn't know how to draw circle (it was with MS 5.4) except like it is
> done in the template.map (see "drawCircle" layer) : unit is meter and
> size is the radius value. If you have an other solution, feel free to
> post it.
>
>
> > 3) If the map is panned and the center of a CIRCLE is no more visible,
> the
> > entire circle is not displayed
>
> Yes, due to point 2...
>
>
> > 4) It misses an offset (0 -14 in my project) not to have the POINT hidden
> > behind its label
>
> Feel free to change the template.map, the symbols, etc... in your project.
>
> > (5) Styles have to be modified if using Mapserver 6, no symbol needed
> > anymore for polygons or lines)
>
> Does it works with hatched polygons in your project?
>
> > (6) Code is waiting for .png image button, .gif provided ;)
>
> Where please?
>
> >
> > Did anyone encountered the same and found a way to solve points 1), 2)
> and
> > 3)?
>
> 1: just change the language file.
> 2 and 3: try to change the layer type from point to circle and customize
> the template.map. But I remember other bugs due to small or big scales...
>
> >
> > Finally, where is stated the max length of a comment? Looks like text
> with
> > lots of characters are not displayed, which is good, but I would like to
> > add it to the info text.
>
> How many characters for instance please?
>
> >
> > Thanx
> > Chris
>
> Bye
>
> Thomas
>
> >
> --
> > Free Next-Gen Firewall Hardware Offer
> > Buy your Sophos next-gen firewall before the end March 2013
> > and get the hardware for free! Learn more.
> > http://p.sf.net/sfu/sophos-d2d-feb
> > ___
> > pmapper-users mailing list
> > pmapper-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/pmapper-users
> >
> >
>
>
>
> --
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Drawing plugin

2013-02-07 Thread Thomas RAFFIN

Le 07/02/2013 17:16, Chris forum a écrit :
> Hi all,
>
> Working on a pmapper 4.3 project, just installed the 'Drawing' plugin.
>
> Works well,

Hi,

Thanks


> except for some details:

:-(

>
> 1) ESC key doesn't erase the last point of a POLYGON or a LINE (as stated
> in the info text), but the entire drawing

I will check the text. The key should be :
- DEL to remove the last point
- ESC to delete the entire drawing

> 2) For the CIRCLE, there is no window poping up letting us adding a
> comment. Must be an issue with that layer, as the Labelitem tag was
> commented in the source. Any more info on that?

We didn't know how to draw circle (it was with MS 5.4) except like it is 
done in the template.map (see "drawCircle" layer) : unit is meter and 
size is the radius value. If you have an other solution, feel free to 
post it.


> 3) If the map is panned and the center of a CIRCLE is no more visible, the
> entire circle is not displayed

Yes, due to point 2...


> 4) It misses an offset (0 -14 in my project) not to have the POINT hidden
> behind its label

Feel free to change the template.map, the symbols, etc... in your project.

> (5) Styles have to be modified if using Mapserver 6, no symbol needed
> anymore for polygons or lines)

Does it works with hatched polygons in your project?

> (6) Code is waiting for .png image button, .gif provided ;)

Where please?

>
> Did anyone encountered the same and found a way to solve points 1), 2) and
> 3)?

1: just change the language file.
2 and 3: try to change the layer type from point to circle and customize 
the template.map. But I remember other bugs due to small or big scales...

>
> Finally, where is stated the max length of a comment? Looks like text with
> lots of characters are not displayed, which is good, but I would like to
> add it to the info text.

How many characters for instance please?

>
> Thanx
> Chris

Bye

Thomas

> --
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> ___
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>


--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Drawing plugin

2013-02-07 Thread Chris forum
Hi all,

Working on a pmapper 4.3 project, just installed the 'Drawing' plugin.

Works well, except for some details:

1) ESC key doesn't erase the last point of a POLYGON or a LINE (as stated
in the info text), but the entire drawing
2) For the CIRCLE, there is no window poping up letting us adding a
comment. Must be an issue with that layer, as the Labelitem tag was
commented in the source. Any more info on that?
3) If the map is panned and the center of a CIRCLE is no more visible, the
entire circle is not displayed
4) It misses an offset (0 -14 in my project) not to have the POINT hidden
behind its label
(5) Styles have to be modified if using Mapserver 6, no symbol needed
anymore for polygons or lines)
(6) Code is waiting for .png image button, .gif provided ;)

Did anyone encountered the same and found a way to solve points 1), 2) and
3)?

Finally, where is stated the max length of a comment? Looks like text with
lots of characters are not displayed, which is good, but I would like to
add it to the info text.

Thanx
Chris
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users