Re: [pmapper-users] p.mapper and js compression

2007-10-24 Thread Thomas Raffin
Hi, I saw many interesting things concerning compression to improve p.mapper speed... 1) the JS compression algorithm : http://www.julienlecomte.net/blog/2007/08/21/gzip-your-minified-javascript-files/ The author explain that if you use Apache compression (gzip / mod_deflate), the smallest JS

Re: [pmapper-users] Hide/Unhide TOC

2007-12-21 Thread Thomas Raffin
Hi Willington, Thanks for this enhancement ! I think you should try to make this functionality as a plugin. Then more people will be able to use it. There are instructions in the wiki, and if you need help, I could try to help you. And I'm not sure you really need to reload the all window.

Re: [pmapper-users] Hide/Unhide TOC

2007-12-21 Thread Thomas Raffin
Great ! As far as I'm concerned, I try to isolate all my personal modifications in plugins, in order to publish them... Willington Siabato a écrit : Hi Thomas, Thanks a lot for your suggestion. I will review the wiki and made the new plugin. To day afternoon I am going to publish a personal

Re: [pmapper-users] Pmapper / mapserver optimization

2008-02-19 Thread Thomas Raffin
Hi, Maybe you should test directly with the MapServer cgi to know if it is due to pmapper or MapServer / PostGIS. Concerning PostGIS, there are few improvements to do : - indexes : http://postgis.refractions.net/docs/ch04.html#id2819937 - FAQ :

Re: [pmapper-users] water mark

2008-04-30 Thread Thomas Raffin
Hi ! An example to begin. Just add the following layer definition in your mapfile as Armin said. LAYER NAME credits STATUS DEFAULT TRANSFORM lr TYPE ANNOTATION FEATURE POINTS -5 -5 END TEXT 'Hello !' END CLASS LABEL

Re: [pmapper-users] Query editor and postgis

2008-05-28 Thread Thomas Raffin
Hi Paul, There was a bug in the Query Editor plugin initialization. Maybe it is your problem... I've just committed files after reading your e-mail. So you have to update the files contained in pmapper/plugins/common and pmapper/plugins/queryeditor. If you don't know what am I talking about,

Re: [pmapper-users] Query editor and postgis

2008-05-28 Thread Thomas Raffin
done pag66 a écrit : Hello thomas, Thanks for the reply, could you send me the files to check it please and thank's again for your quickly reply - This SF.net email is sponsored by: Microsoft Defy all challenges.

Re: [pmapper-users] Query editor and postgis

2008-05-30 Thread Thomas Raffin
If you are able to acces to the SVN repository, the file needed is pmapper/trunk/plugins/common/easyincludes.php. Else, I will send it to you. pag66 a écrit : Hello list I check the files and i have a problem when I use the files updates i have and error into the query window that say the

Re: [pmapper-users] Query editor and postgis

2008-05-30 Thread Thomas Raffin
=txt simple browsing starts at http://svn.pmapper.net/trac/browser/pmapper/trunk armin On Fri, May 30, 2008 at 9:47 AM, Thomas Raffin [EMAIL PROTECTED] wrote: If you are able to acces to the SVN repository, the file needed is pmapper/trunk/plugins/common/easyincludes.php. Else, I

Re: [pmapper-users] Sitch expand/collapse Categories in TOC when running pmapper

2008-06-11 Thread Thomas Raffin
Hi, As far as I'm concerned, I add in your_config_directory/php_config.php (category style = tree): - to open all categories: $plugin_jsTocInitList[] = $(\'#toc .opcl img\').click(); - to open only the first one: $plugin_jsTocInitList[] = $(\'#toc .opcl img:first\').click(); - to open all but

Re: [pmapper-users] Problems with function showGroupInfo

2008-06-12 Thread Thomas Raffin
Hi, Pmapper use its default js files loaded (by default in pmapper/javascript/), then all those contained in your configuration directory (pmapper/config/common/*.js) and then all those the current configuration directory (for instance pmapper/config/default/*.js). So you can overwrite

Re: [pmapper-users] Problems in Queryeditor plugin with type=numeric

2008-06-13 Thread Thomas Raffin
Hi, I've corrected few bugs, but I need few tests before committed files. Maybe in few hours it will be ok. Thomas Gabriel Messner a écrit : Hi, I have problems using the query editor plugin. It works fine with atribute type = string, but when querying numeric types no result is shown

Re: [pmapper-users] Pmapper configuration with IIS

2008-06-18 Thread Thomas Raffin
Hi all, I think you shoul read this: http://mapserver.gis.umn.edu/docs/howto/setupiis Thomas Francesco Tomei a écrit : Hi all, is there anyone could tell me the right sequence in order to correctly configure Pmapper 3.2 with Windows 2003 Server and IIS? Could be useful to know which

Re: [pmapper-users] Fw: P.MAPPER-ERROR: plugin directory '.../plugins/transparency' not existing

2008-07-04 Thread Thomas Raffin
Hi, The error in your phperror.log means that you have activated the transparency plugin whereas it doesn't exists in your pmapper installation (published as pmapper32). In you acces.log, man can see that you are querying the obrmay search item (searchitem=obrmay in the url). So the extract

Re: [pmapper-users] Query ediitor problem firefox 3

2008-07-07 Thread Thomas Raffin
I've already seen the bug. I think now it is corrected, but needs few tests before being committed. What version of pmapper are you using ? pag66 a écrit : Hello friends iworking with query editor with postgis tables without any problem in IE 6.0 y firefox 2 but today i tried to acces trough

Re: [pmapper-users] Legend icon beside the layer name

2008-07-10 Thread Thomas Raffin
Hi, In your configuration file (config_defaut.ini for instance) try this : legStyle = attached Thomas Jady a écrit : Hi, I have quite a number of layers which only have one class defined (i.e. each of them only has one legend icon). Is it possible to display their legend icon right next

Re: [pmapper-users] Legend icon size - question

2008-07-25 Thread Thomas Raffin
Hi, Unfortunately, I don't have the answer to your question. But I'd like to focus on PDF generation, cause I'm not sure that the legend alignment is good if you modify the legend icon size. Thomas [EMAIL PROTECTED] a écrit : Hi, Can I influence the size of legend icon/image in any way? I

Re: [pmapper-users] themes and views

2008-08-01 Thread Thomas Raffin
Hi, You will find informations here: http://svn.pmapper.net/trac/wiki/AvailablePlugins#ThemesAndViews In pmapper trunk version, there will soon be the administration plugin for Themes and Views. Thomas Robert Walter a écrit : Hi List, where can I find more information about the Themes and

Re: [pmapper-users] themes and views

2008-08-04 Thread Thomas Raffin
version ? If yes, I could commit the themesandviewsadmin plugin and you could test it. Thomas Robert Walter a écrit : Hi, I know this site, but there are no details about the mentioned themesandviews.xml. An example would be helpful. Robert Am Freitag 01 August 2008 17:08:40 schrieb Thomas

Re: [pmapper-users] Query editor validation

2008-10-06 Thread Thomas Raffin
Hi No idea, sorry. What I would like to do is to find the type of each field in order to select string or number (date etc... maybe) type in the interface. But I don't have enough time to do it soon... Regards, Thomas pag66 a écrit : Hello everyone i want to make a validation before i

Re: [pmapper-users] Attribute search error - is this correct behaviour?

2008-10-30 Thread Thomas Raffin
Hi, I often do that. For instance: I use the geographical objects in a table but with few attributes. This is the layer I have in the TOC. Then I use the same geographical table, but joined with attributes tables. Those are the queriable layers in my mapfile. So only 1 is shown, but the other

Re: [pmapper-users] SEARCH.XML FOR ORACLE LAYER

2009-05-06 Thread Thomas Raffin
Hi Luis, I've made few modification for querying Oracle layers but I haven't yet finished my tests. Try to replace in your-pmapper-dir/incphp/query.php, at the end of q_execAttributeQuery function : @$this-qLayer-queryByAttributes($fldName, $this-qStr, MS_MULTIPLE); with

Re: [pmapper-users] Problem with elements sql_from and sql_where in search.xml

2009-05-07 Thread Thomas Raffin
Hello, The sql_where seems to be unused. If you want to specify the where clause in the sql_where, you have to modify the 'pmapper-dir/incphp/query/search.php' file and replace return $sql_where with $qs = $sql_where. Thomas Hermann Karl a écrit : Dear List, searchitem in the file

Re: [pmapper-users] PDF Print

2009-05-14 Thread Thomas Raffin
ceased. Also no other PDF libraries with text/xml templates seem to be available for PHP. I think Thomas Raffin once proposed something regarding other print formats/page orientation, so he might give some input on this. I at least updated parts of the PDF printing that should allow using

Re: [pmapper-users] DATA variable in mapfile

2009-05-14 Thread Thomas Raffin
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. Armin Burger a écrit : On 14/05/2009 13:07, Salvator*eL*arosa wrote: Can I put a variable in the mapfile? If you use Mapserver as CGI:

Re: [pmapper-users] DATA variable in mapfile

2009-05-14 Thread Thomas Raffin
at the ms_newMapObjFromString function in mapscript documentation. Salvator*eL*arosa a écrit : 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

Re: [pmapper-users] DATA variable in mapfile

2009-05-15 Thread Thomas Raffin
Hi, try $mylayer-setfilter($wdata); the documentation for mapscript is here: http://mapserver.org/mapscript/index.html#mapscript Thomas Salvator*eL*arosa a écrit : Ernesto Barrera wrote: Hi Salvatore, This is not exactly the same case but it might help My MAPFILE has a raster

Re: [pmapper-users] PostGIS layer does not return query info

2009-07-27 Thread Thomas Raffin
Hi, Now it seems to be a problem of types: procedure_id is a string and the WHERE try to evaluate it as a numeric value. You should try directly in your db (pgAdmin3 or psql client line interface for instance) the query extracted from the error log : SELECT

Re: [pmapper-users] PostGIS layer does not return query info

2009-07-28 Thread Thomas Raffin
Does your layer definition works fine ? Have you got errors when trying something like that: http://server:port/cgi-bin/mapserv.exe?mode=mapmap=path_to_your_mapfilelayers=your_layer Sidney Gijzen a écrit : Hi Thomas, Thank you for your suggestion! Changing the procedure_id to an integer in

Re: [pmapper-users] LabelItem don´t recognices Specia l Characters

2009-07-30 Thread Thomas Raffin
Hi, I think it is not possible, but your problem is the layer encoding. I don't know exactly what you have to do, but I'm sure this had been discussed on pmapper or mapscript lists Sandra Liliana Moreno Mayorga a écrit : Hi Everybody I'm working MapServer and pmapper 3.2, I have a

Re: [pmapper-users] PostGIS layer does not return query info

2009-07-30 Thread Thomas Raffin
the RESULT_FIELD I specified in the Map-file. I already double-checked it, and the RESULT_FIELD does exist in the DB. However it suddenly expects an integer as PK to return when I query.. and I have no integers in the DB-view which is queried.. Thomas Raffin wrote: You mean

Re: [pmapper-users] Postgis ¿ The problem is the r ows quantity?

2009-08-21 Thread Thomas Raffin
Hi, Your table has a constraint concerning projection. Maybe you should try this: DATA the_geom FROM t473175 USING UNIQUE gid USING SRID=4326 Is there any interesting information in your log files (with ms4w -- ms4w/Apache/logs/*.log) ? Fernando Bordignon a écrit : Hi First, sorry by my

Re: [pmapper-users] Tool links as an array

2009-09-03 Thread Thomas Raffin
Hi, 1) In your map.phtml replace $('#uiLayoutNorth').pmToolLinks(PM.linksDefault); // Tool links with pmToolMenu(PM.linksDefault, 'toolLinkMenu', 'Tools', '#uiLayoutNorth', 16, 16); 2) Add the folowing javascript code in config/common/menu.js for instance: function pmToolMenu(tl, menuid,

Re: [pmapper-users] Tool links as an array

2009-09-03 Thread Thomas Raffin
(PM.linksDefault, 'toolLinkMenu', 'Tools', '#uiLayoutNorth',16, 16) ? /div What is wrong?? Thank you in advance! p. Thomas RAFFIN wrote: Hi, 1) In your map.phtml replace $('#uiLayoutNorth').pmToolLinks(PM.linksDefault); // Tool links with pmToolMenu(PM.linksDefault, 'toolLinkMenu

Re: [pmapper-users] PrintMap

2009-09-23 Thread Thomas Raffin
You're welcome Kevin Edmundson a écrit : All, Thanks to lots of help from Thomas Raffin, the issue with the overly large reference map using the PrintMap function has been solved. The issue ended up being the fact that the Reference image used for the application was huge...over 800X600

Re: [pmapper-users] Print function works only in Windows and not in Linux

2009-09-28 Thread Thomas Raffin
Hi, You should have something in your log files... Could you look at them please and tell us more? Thomas Andreas P. a écrit : Hello everybody! I am using pmapper 4, PHP 5.2.5 and the application I am developing works fine on windows environment. When I transfer the application in Linux

Re: [pmapper-users] Print function works only in Windows and not in Linux

2009-09-28 Thread Thomas Raffin
) ) ) ) [printtitle] = [width] = 700 [height] = 540 [type] = normal ) Now, there is no new entry in log file. Thank you once more! Thomas RAFFIN wrote: Hi, You should have something in your log files... Could you look at them please and tell us

Re: [pmapper-users] export plugin

2009-10-07 Thread Thomas Raffin
\error_php.log [29-Sep-2009 14:58:22] PHP Warning: Division by zero in C:\ms4w\apps\pmapper\pmapper-4.0.beta2\plugins\export\export.pdf.php on line 133 May be the solution for one problem, resolves the other. Thank you, Homero 2009/9/30 Thomas Raffin traf...@sirap.fr mailto:traf

Re: [pmapper-users] search

2009-10-07 Thread Thomas Raffin
Hi, You can put the search parameters everywhere you want in your map.phtml. Move those lines: !-- Search Container -- ?php echo UiElement::searchContainer(inline) ? and change the mode if needed (inline = vertical / block = horizontal). Maybe it will require some css enhancement. Else you

Re: [pmapper-users] pmapper 4.0beta3 queryeditor

2009-11-12 Thread Thomas Raffin
Hi, Have you got errors in your logs files ? Siki Zoltan a écrit : Hi List, Upgrading from 4.0beta2 to 4.0beta3 I lost the queryeditor. I get only an empty window when starting queryeditor. The same config has worked in beta2. Does anybody detect similar problem? Any workaround?

Re: [pmapper-users] pmapper 4.0beta3 queryeditor

2009-11-12 Thread Thomas Raffin
be accessed Thank you for your help. Regards, Zoltan On Thu, 12 Nov 2009, Thomas Raffin wrote: Hi, Have you got errors in your logs files ? Siki Zoltan a écrit : Hi List, Upgrading from 4.0beta2 to 4.0beta3 I lost the queryeditor. I get only an empty window when starting queryeditor

Re: [pmapper-users] pmapper 4.0beta3 queryeditor

2009-11-12 Thread Thomas Raffin
Have you got display_errors = On in your php.ini to show errors in Firefox ? Do not do that in a production server (or just a short time during tests ;-) ) Armin Burger a écrit : On 12/11/2009 17:23, Siki Zoltan wrote: Dear Thomas, I've tested beta3 on Fedora 10 and I get the same

Re: [pmapper-users] pmapper 4.0beta3 queryeditor

2009-11-12 Thread Thomas Raffin
Maybe the beta3 is not working. The trunk version should works (I've just added a file right now !). I've got 3 solutions: 1) if pmapper/plugins/queryeditor/x_queryeditor.php contains those lines: if (!isset($_SESSION['queryeditor_activated']) || !$_SESSION['queryeditor_activated']) {

Re: [pmapper-users] new interface pmapper and search drag drop

2009-11-26 Thread Thomas Raffin
Hi, I think the searchTool plugin could do that with the good parameters... But if you need anything else torellim maybe it is possible to extend it... Thomas Walter Lorenzetti a écrit : torellim torellim ha scritto: Hi torellim, it's very interesting... some question: Did you develop it

Re: [pmapper-users] searching with filter

2009-11-26 Thread Thomas Raffin
Hi, You should try to defined a sql_where in layer sql_wherehospric = '[hospric]'/sql_where Thomas Armin Burger a écrit : Marco Currently *all* form elements (fields) are used for the query string. Using one of them just for defining the depending field values but excluding them from the

Re: [pmapper-users] Plugin Drawing

2009-11-30 Thread Thomas Raffin
Hi, Did you read that http://svn.pmapper.net/trac/wiki/PluginsDynamicData ? I particular, did you had the layer named drawPoint to your template.map ? BSAP (Thomas Andres) a écrit : Sehr Geehrte, I've installed the Drawing plug-in for pmapper, but after the digitalization of a point (or

Re: [pmapper-users] Problem with queryeditor

2009-12-14 Thread Thomas Raffin
Hi, The problem is that queryeditor plugin was not up-to-date in beta3. Try the 2d solution here : http://old.nabble.com/Re%3A-pmapper-4.0beta3-queryeditor-p26323577.html it has worked for other users. Thomas Leonardo Rodriguez Silva a écrit : Hello¡ Sorry, but I don`t speak english

Re: [pmapper-users] search distinct features on one-to-many join query (for time series)

2009-12-17 Thread Thomas Raffin
Hi, You should try to define a view that will join the tables (for instance SELECT grid.*, rainfall_ts.rainfall FROM grid,rainfall_ts WHERE grid.gid = rainfall_ts.gid). So you will have 2 ways to use your data in your mapfile : - DATA the_geom FROM grid USING UNIQUE gid -- only 1 object

Re: [pmapper-users] search distinct features on one-to-many join query (for time series)

2009-12-17 Thread Thomas Raffin
2009/12/17 Thomas Raffin traf...@sirap.fr: Hi, You should try to define a view that will join the tables (for instance SELECT grid.*, rainfall_ts.rainfall FROM grid,rainfall_ts WHERE grid.gid = rainfall_ts.gid). So you will have 2 ways to use your data in your mapfile : - DATA the_geom

Re: [pmapper-users] search distinct features on one-to-many join query (for time series)

2009-12-18 Thread Thomas Raffin
to retrieve the shapes, so after the query/select have run. So what you mean with This way pmapper will use the DATASUBSTITION when you will search / query objects? thanks again, giovanni 2009/12/17 Thomas Raffin traf...@sirap.fr: Hi, You should try to define a view that will join the tables

Re: [pmapper-users] (no subject)

2010-02-08 Thread Thomas Raffin
Hi, I will have a look on it... Daniel Mwaura a écrit : Hi, I am working on a tourisma pplication for kenya and i wanted to work using the themes and views plugin in pmapper v4.0(especially the views part) however the documentation that exist is for the older versions and it is very

Re: [pmapper-users] Error plugins transparency an queryeditor

2010-03-19 Thread Thomas Raffin
Hi, Have you got other js errors in Firebug ? Maybe it could be useful to try to activate each plugin separately to know with one has a bug... Could you put debuglevel to 4 or 5 please in you config_xxx.xml, because sometimes there are js files compression errors. Thomas Fco. Javier García

Re: [pmapper-users] Bug in queryeditor

2010-03-22 Thread Thomas Raffin
Hi, Thanks for debugging. But are you sure that there is a bug? Because the x_queryeditor.php page should replace the descriptive name with the real attribute name. Thomas Luis Franco Vázquez a écrit : Hi: there is a bug in queryeditor. Queryeditor builds the query by adding the

Re: [pmapper-users] Question about some pmapper logic

2010-03-22 Thread Thomas Raffin
what i cant do :) Send the mouse click coordinates to the php file ( witch contains the SOAP call),converting clicking,search the shape.. The SOAP call is ready to use,but it expect the id atribute form the shape file..How can i pass it to them? 2010.03.22. 11:21 keltezéssel, Thomas Raffin

Re: [pmapper-users] a custom plugin -clicked shapes ID

2010-04-02 Thread Thomas RAFFIN
Hi What is the METADATA part of the layer in your mapfile please ? If you specified a result_fileds and result_header the 'id' has to be in the list. Is there a case sensitive problem ? Le 02/04/2010 10:08, Medve Zsolt a écrit : Hy! I writing a plugin for Pmapper. I have a question about

Re: [pmapper-users] geo to pixel coordinates

2010-04-08 Thread Thomas RAFFIN
Hi Maybe those functions could help you : PM.Draw.toGeoPoint and PM.Draw.toPxPoint in javascript/src/pm.draw.js file Thomas Le 08/04/2010 12:00, Josh Jordan a écrit : I need to get pixel coordinates from geo coordinates so I can make mouse clicks snap to data points. I see we have

Re: [pmapper-users] Hide a layer in the list, but make queries on it

2010-05-20 Thread Thomas RAFFIN
Hi, I often use it, but I don't remember if it needs code hacks. Try to specify the list of all layer in your config_xxx.xml (allGroups) but not put the group in the categories. If it doesn't works, I will check my code concerning allGroups and categories. Thomas Le 20/05/2010 11:39,

Re: [pmapper-users] How to use DynLayer?

2010-05-25 Thread Thomas RAFFIN
Hi, I don't know for dynlayersample plugin. But you can also use clientdynamiclayers base plugin. For real working example, try to have a look on drawing and measure2 plugins (short doc here: http://svn.pmapper.net/trac/wiki/PluginsDynamicData). Thomas Le 25/05/2010 18:53, Niccolo Rigacci

Re: [pmapper-users] Customize hypelink

2010-06-02 Thread Thomas RAFFIN
Hi, I've never tested that, but after quick code reading I think you should try to do : PM.Query.queryTpl = { [...] iquery: {queryHeader: div, queryFooter: /div, layers: {#default: ... , your_layer_name : ... }

Re: [pmapper-users] Problem loading Query editor plugin

2010-07-07 Thread Thomas RAFFIN
Hi, The first thing to do is to follow those instructions : http://svn.pmapper.net/trac/wiki/PluginsQuery#QueryEditor But as Armin said, if your page doesn't appear correctly, you should have a js error if there is no error in you php / Apache log. Thomas Le 06/07/2010 21:56, Armin Burger a

Re: [pmapper-users] Problem with search.xml

2010-07-07 Thread Thomas RAFFIN
Hi, Maybe this needs more research, but I think that the PHP version included in ms4w 3 should not support MDB2 and DB (due to dl PHP function). Le 07/07/2010 17:24, Alberto Poggi a écrit : Hi to all, I'm trying the latest version of ms4w (3.0 beta 11) with the website I did with the

Re: [pmapper-users] problems with the print function

2010-07-26 Thread Thomas RAFFIN
Hi, Maybe you should have a look on pmapper/config/common/print.xml Thomas Le 20/07/2010 11:07, Josep Sitjar a écrit : Dear all, I'm using pmapper. 4..00 in a windows system, and I have problems with the print function. I can't resize the layout, either in pdf or html. I've been

Re: [pmapper-users] problem with queries to postgis

2010-09-01 Thread Thomas RAFFIN
Hi, I read name=Kas in your search definition, but your subquery in your mapfile seems to use kas field and not Kas. I think there should be a case mistake. Thomas Le 27/08/2010 01:10, Sekcja Geoinformacji a écrit : Dear pmapper-users, when I define queries to the shapefile, everything

Re: [pmapper-users] Problem with Select Tool and MAXSCALE

2010-09-20 Thread Thomas RAFFIN
Hi, First of all the MAXSCALE keywords will be deprecated in future mapserver version. Instead use MAXSCALEDENOM if you are using mapserver 5. This parameter indicates that your layer is not drawable or queryable if map scale denominator is more than 50001. It is not only for display but

Re: [pmapper-users] Problem with Select Tool and MAXSCALE

2010-09-22 Thread Thomas RAFFIN
for reply! I knew it was deprecated maxscale, my problem is not resolved by replacing mascaledenom!! My layer is not queryable if mapscale keyword is declared. I would not know what it can depend on. If I do not set maxscaledenom everything works. Thomas RAFFIN wrote: Hi, First of all

Re: [pmapper-users] Problem with Select Tool and MAXSCALE

2010-09-23 Thread Thomas RAFFIN
MAXSCALEDENOM. Let me know. Thanks Salvatore Thomas RAFFIN wrote: Hi, I think it is the normal behavior : if you declare your layer not queryable at 5, it is not queryable at 5. Maybe the scale is approximative, so you should set maxscale / maxscaledenom at 50010 for instance

Re: [pmapper-users] Problem with Select Tool and MAXSCALE

2010-09-23 Thread Thomas RAFFIN
Can you tell me the maxscale you specified in the mapfile and the scale just before you click on the map please ? Le 23/09/2010 13:05, Salvatore Larosa a écrit : Can you tell me the maxscale you specified in the mapfile and the scale just before you click on the map please ?

Re: [pmapper-users] Problem with Select Tool and MAXSCALE

2010-09-24 Thread Thomas RAFFIN
Could you try this pmapper version : http://www.pmapper.net/dl/pmapper-dev.zip ? It is not a stable version, but more recent than yours. Maybe it could solve the problem. Le 24/09/2010 10:51, s_lar...@libero.it a écrit : In log files no error, Mapserver version is 5.2.1 (ms4w), pmapper

Re: [pmapper-users] Problem with Select Tool and MAXSCALE

2010-09-24 Thread Thomas RAFFIN
I've forgottent : when I call map-setExtent, I also set map width and height (just before extent) : map-set('width', xxx) and map-set('height', xxx) Le 24/09/2010 12:44, s_lar...@libero.it a écrit : With version dev it works! For my needs, I customize the file globals.php in order to draw

Re: [pmapper-users] Themes and Views-Thank you

2010-10-11 Thread Thomas RAFFIN
You're welcome. Thomas Le 09/10/2010 14:19, Daniel Mwaura a écrit : Thank you Raffin ,the plugin is now ok.For your time and energy spent i appreciate. Daniel Mwaura -- Beautiful is writing same markup.

Re: [pmapper-users] Fatal error dbase_open search

2010-10-11 Thread Thomas RAFFIN
Hi, you have to active the dbase lib for PHP scripts. See here http://svn.pmapper.net/trac/wiki/UpgradeInfo#dBasefunctions Thomas Le 08/10/2010 16:38, Edukoski a écrit : Friends: I am trying to configure a search suggested as the example of cities pmapper-demo and in resolving the search

Re: [pmapper-users] External link for menu

2010-11-22 Thread Thomas RAFFIN
Hi, I've just tested the following lines an it works in pmapper 4.1.1: /** * Tool link elements */ PM.linksDefault = { containerid:'toolLinkContainer', links: [ {linkid:'link', name:'Link', run:'PM.UI.showMapLink', imgsrc:'link-w.png'}, {linkid:'print',

Re: [pmapper-users] External link for menu

2010-11-22 Thread Thomas RAFFIN
was not clear enough... Thank you again, Serge Thomas RAFFIN wrote: Hi, I've just tested the following lines an it works in pmapper 4.1.1: /** * Tool link elements */ PM.linksDefault = { containerid:'toolLinkContainer', links: [ {linkid:'link', name:'Link

Re: [pmapper-users] Clickable Selection Set

2010-11-26 Thread Thomas RAFFIN
Hi, I don't really understand what you want to implement in pmapper. Do you mean selection tool (like in your 2d link) or an image map (like in the doc of your 1st link or here for instance: http://simap.sirap.com/smad/carto/ ) ? Thomas Le 26/11/2010 15:51, Hermann Karl a écrit : Dear List,

Re: [pmapper-users] Virtualized enviroment

2010-11-30 Thread Thomas RAFFIN
Hi, There is no problem with this scheme. I think you only have to configure your DB server to allow access from the other, network, and of course your mapfile. Thomas Le 30/11/2010 12:28, Eduardo Bieñkowski a écrit : Dear: I would like to inquire about the following, I am working in

Re: [pmapper-users] Session Again

2010-12-06 Thread Thomas Raffin
Hi, If you desable cookies, be sure that you don't have this cookie already saved in your browser. Thomas -Original Message- From: Eduardo Bieñkowski eduko...@gmail.com To: pmapper_mailing_list pmapper-users@lists.sourceforge.net Date: Mon, 6 Dec 2010 10:08:00 -0200 Subject:

Re: [pmapper-users] Help with ClientDynamicLayer

2011-01-06 Thread Thomas RAFFIN
Hi, If you are talking about the directory plugins/clientdynamiclayers in your pmapper installation, it is not a plugin. It contains code shared by plugins that use data dynamically added truth javascript : http://svn.pmapper.net/trac/wiki/PluginsDynamicData If you want to develop your own

Re: [pmapper-users] pmapper always loading

2011-01-25 Thread Thomas RAFFIN
Hi, If your pmapper version is 4.0.0 this error seams to concern reference map. Is the REFERENCE part of your mapfile well defined : http://mapserver.org/mapfile/reference.html (see also the demo mapfile for a real example). Thomas Le 24/01/2011 19:50, Luis H. Moreno a écrit : Hi, I have a

Re: [pmapper-users] problem with ECW

2011-02-07 Thread Thomas RAFFIN
Hi, If you are using MS4W 3.x, the ECW file format is no longer supported (due to new Erdas license). Thomas Le 02/02/2011 21:19, Armin Burger a écrit : Pino I don't think anybody can help you if you do not specify *what* is your problem, and describe it in best ways ;-) the pm Wiki has a

Re: [pmapper-users] How to use a variable for a print title

2011-02-07 Thread Thomas RAFFIN
Hi, 1) in print.xml, add your variable in the printdlg part with an HTML input tag 2) printdlg.phtml will create a PrintXML_HTML object (class defined in incphp/print/printxml.php) that will parse the XML file and add the desired field in the HTML print dialog 3) when you will send the print

Re: [pmapper-users] Plugin addbuttonstogroups needs refactoring?

2011-02-07 Thread Thomas RAFFIN
Hi, I'm the author of this plugin. You're right: it doesn't work with p.mapper 4 and dev version. You can publish the new version if you have rights (or ask them to Armin), or send me a zip file and I will update it (feel free to update the doc: http://svn.pmapper.net/trac/wiki/PluginsToc).

Re: [pmapper-users] QueryEditor bug/question

2011-02-07 Thread Thomas RAFFIN
Hi, You've just found a real bug. I will correct it in the dev version asap. If you need it quickly, just modify the file pmapper/plugins/queryeditor/queryeditor.php: - search the line with $layers = $_SESSION['pluginsConfig']['queryeditor']['queryableLayers']['queryableLayer']; - add just

Re: [pmapper-users] QueryEditor bug/question

2011-02-07 Thread Thomas RAFFIN
pan. Is it possible to disable panning when focus is in this frame? What is your p.mapper version? And your web browser ? Thanks very much. This plugin is of so much help :D You're welcomed! Thomas regards, dejan On 7. vel. 2011., at 11:49, Thomas RAFFIN wrote: Hi, You've just

Re: [pmapper-users] QueryEditor bug/question

2011-02-07 Thread Thomas RAFFIN
version? Le 07/02/2011 14:37, Dejan Gambin a écrit : On 7. vel. 2011., at 14:18, Thomas RAFFIN wrote: Le 07/02/2011 12:37, Dejan Gambin a écrit : Thanks Thomas, I have several more questions, neither one is very important but it is good to know the options: 1. When I open the dialog I get

Re: [pmapper-users] Plugin addbuttonstogroups needs refactoring?

2011-02-07 Thread Thomas RAFFIN
(be careful if there is only 1 button declared!) Tell me if you are interested with those points and if I can help you, else I will do it later... Thanks again. Thomas Le 07/02/2011 12:38, Niccolo Rigacci a écrit : On Mon, Feb 07, 2011 at 11:36:56AM +0100, Thomas RAFFIN wrote: I'm the author

Re: [pmapper-users] measure2 plugins error

2011-02-07 Thread Thomas RAFFIN
Hi, Sorry but I don't understand the behavior you've described. I've just tested the current SVN version, and it works correctly for me in Firefox 3.6.13, IE 8 and Chrome 9. Please tell me the pmapper version your are using, Firefox version and do you follow the explanations of the e-mail

Re: [pmapper-users] Query layer for some columns

2011-02-09 Thread Thomas RAFFIN
Hi, I've forgotten an other (and easier) way to do what you want... It works with DB and shapefiles: http://svn.pmapper.net/trac/wiki/DocManual#LayerGroupDescriptionsandFieldsforQueries Just be careful: for shapefiles, the RESULT_FIELDS have to be upper case, whereas for postgreSQL and maybe

Re: [pmapper-users] QueryEditor Error

2011-03-15 Thread Thomas RAFFIN
Hi, I think the error is due to the parameter dlgType that is not written in your config_xxx.xml. Did you follow this documentation: http://svn.pmapper.net/trac/wiki/PluginsQuery#QueryEditor ? Else, you can correct it by replacing in plugin/queryeditor/queryeditor.js: if

Re: [pmapper-users] On the subject of wiki updates

2011-04-04 Thread Thomas RAFFIN
Hi, Wiki updated ! Thanks Thomas Le 31/03/2011 10:31, Chris Jackson a écrit : Armin I noticed an omission of a comma in one of the plugins - TOC info link on http://svn.pmapper.net/trac/wiki/PluginsToc should have a comma after - insert: 'after' in the options section of code. Hope that

Re: [pmapper-users] PDF legend settings

2011-04-04 Thread Thomas RAFFIN
Hi, If you only want to have 4 columns instead of 2, you just have to specify legendNumColumns=4 instead of 2 in the print.xml file. There are also few different layouts implemented for the PDF output: http://svn.pmapper.net/trac/wiki/DocManualprint#Definingformat:legendandlayoutdefinition

Re: [pmapper-users] QueryEditor Error

2011-04-04 Thread Thomas RAFFIN
Hi, I think the problem is that configuration part concerning queryeditor is not loaded. The XML part (pmapper/ini/pluginsConfig/queryeditor) should be written in js: PM.ini.pluginsConfig.queryeditor Are you sure to have only one pmapper/ini/pluginsConfigin your XML file? You don't have any

Re: [pmapper-users] search.xml with postgis - invalidJSON

2011-04-08 Thread Thomas RAFFIN
Hi, Concerning the INCLUDE tag in mapfiles, with mapserver 5.4 or 5.6, everything is OK. Thomas. Le 08/04/2011 09:18, moka61 a écrit : Thank you for the quick response. I removed the apostrophe from the name VITO D'ASIO and the query works correctly. The escape is made ​​only in the

Re: [pmapper-users] selectionManagement plugin

2011-04-08 Thread Thomas RAFFIN
Hi, What is your mapserver version please? Thomas Le 07/04/2011 17:49, Andreas Douvalis a écrit : Hi I found in trunk one new plugin : selectionManagement !!! First of all very useful tool. I test it. I have pmapper 4.1.1 and I download only the new plug in ( selectionManagement) and

Re: [pmapper-users] search.xml with postgis - invalidJSON

2011-04-08 Thread Thomas RAFFIN
Have you got errors in the php log file? Maybe there could be acces rights errors (/home/sit/mapfile and /home/mapfile). Le 08/04/2011 10:46, moka61 a écrit : I cannot find any reason why the include should not work, especially not why it worked in p.mapper 4.0 and not any more in 4.1 .

Re: [pmapper-users] selectionManagement plugin

2011-04-08 Thread Thomas RAFFIN
As you are using ms 5.6, I think I know why it doesn't works. Try this (I will not commit it because MS 6 will soon be released, and the API will change again): 1 - incphp/query/squery : - line 102, add a parameter to printResultRow call to indicate if you are using DB layer: $this-qStr

Re: [pmapper-users] Fw: Re: selectionManagement plugin

2011-04-08 Thread Thomas RAFFIN
Thanks! Have you try other plugins? Le 08/04/2011 16:19, Andreas Douvalis a écrit : Thank you very much . It works perfect now. This plugin is very usefull. --- Στις Παρ., 08/04/11, ο/η Thomas RAFFINtraf...@sirap.fr έγραψε: Από: Thomas RAFFINtraf...@sirap.fr Θέμα: Re: [pmapper-users]

Re: [pmapper-users] search.xml with postgis - invalidJSON

2011-04-11 Thread Thomas RAFFIN
Hi, Since jQuery 1.4.2 I had to change in incphp/x_ajax/x_search.php the JSON string returned (just before echo): $searchJson = str_replace(\\', ', $searchJson); I have the options_array2json function with addslashes. I think it is the only change I made concerning this issue (simple quotes).

Re: [pmapper-users] A couple of questions...

2011-05-10 Thread Thomas RAFFIN
Hi, Responses below Le 10/05/2011 14:28, Chris Jackson a écrit : Hi all Is it possible to make a block of text/image etc dependent on the active (visible/ticked) layers on the screen? I.e.pseudo watermarking. LAYER NAME credits REQUIRES ([layer1] AND ![layer2]) STATUS

Re: [pmapper-users] A couple of questions...

2011-05-10 Thread Thomas RAFFIN
it, please make a plugin. So I could try to integrate it in the QueryEditor plugin. Many thanks Chris On 10 May 2011 13:41, Thomas RAFFIN traf...@sirap.fr mailto:traf...@sirap.fr wrote: Hi, Responses below Le 10/05/2011 14:28, Chris Jackson a écrit : Hi all

Re: [pmapper-users] A couple of questions...

2011-05-10 Thread Thomas RAFFIN
Here are the changes for search behaviour that have to be done in javascript/pm.search.js. - to keep the selected value, replace the setSearchInput method with this one: setSearchInput: function() { var searchForm = _$('searchForm'); // Modified by Thomas RAFFIN (SIRAP

  1   2   3   >