[pmapper-users] mapselect and zoomquery

2014-12-21 Thread Bogumił Szady
Hello,
I've tried to use the mapselect plugin and zoomquery together.
I noticed that after zoomquery results pmapper saves the zoomLayer and 
zoomQuery attributes.
It is impossible to retrive correctly other maps prepared in mapselect 
plugin.

Is there any possibility to reset the default map setting in the moment 
of click on the map in the mapselect plugin?

thanks
Bogumił


sz...@kul.lublin.pl mailto:%20sz...@kul.lublin.pl
hgis.kul.lublin.pl hgis.kul.lublin.pl
geohistoria.pl geohistoria.pl

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] search one layer

2014-07-23 Thread Bogumił Szady
Hello,
Thanks. I have tried to insert this modification.
I see my layer defined, but without white box on the right to put the 
search attribute.
Where is the the problem?

best

Bogumił


W dniu 2014-07-22 23:11, Armin Burger pisze:
 not a very elegant solution, but should work:

 add the following block at the end of your
  /config/[your-config]/custom.js
 file

 $.extend(PM.Query,
 {
   createSearchItems: function(url) {
   $.ajax({
   url: url,
   dataType: json,
   success: function(response){
   var searchJson = response.searchJson;
   var action = response.action;

   //---
   delete searchJson.options[0];
   //---

   if (action == 'searchitem') {
   PM.Query.createSearchInput(searchJson);
   } else {
   var searchHtml = PM.Query.json2Select(searchJson, 0);
   $('#searchoptions').html(searchHtml);
   }
   },
   error: function (XMLHttpRequest, textStatus, errorThrown) {
   if (window.console) console.log(errorThrown);
   }
   });
   }

 });




 or use

   //---
   if (Object.keys(searchJson.options).length  3) {
   delete searchJson.options[0];
   }
   //---

 to do this just in case the search has just 1 layer defined for search,
 in case you once will add another one you don't remember what you once
 modified...


 On 07/22/2014 07:25 PM, Bogumił Szady wrote:
 Hello,
 Is it possible to get one default search field turned on in the moment
 of starting of application window?
 I have only one layer to search and I would like to avoid every time
 selecting layer to search.


 all the best

 Bogumił

 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] search one layer

2014-07-23 Thread Bogumił Szady
I have tried and it doesn't work.
Like before I have normal search for label and then I have to select 
my one layer to search.
:(

Bogumił


W dniu 2014-07-23 20:38, Armin Burger pisze:
 Ok, the change event is not applied if no change happens... Try the
 following for the custom.js which should also improve the labels and
 logic in this case:

 $.extend(PM.Query,
 {
   createSearchItems: function(url) {
   $.ajax({
   url: url,
   dataType: json,
   success: function(response){
   var searchJson = response.searchJson;
   var action = response.action;

   if (action == 'searchitem') {
   PM.Query.createSearchInput(searchJson);
   } else {
   delete searchJson.options[0];
   var searchHtml = PM.Query.json2Select(searchJson, 0);
   $('#searchoptions').html(searchHtml);
   PM.Query.setSearchInput();
   $('#searchoptions').html(_p(Search
 for)).css({white-space: nowrap});
   }
   },
   error: function (XMLHttpRequest, textStatus, errorThrown) {
   if (window.console) console.log(errorThrown);
   }
   });
   }

 });


 On 07/23/2014 08:58 AM, Bogumił Szady wrote:
 Hello,
 Thanks. I have tried to insert this modification.
 I see my layer defined, but without white box on the right to put the
 search attribute.
 Where is the the problem?

 best

 Bogumił


 W dniu 2014-07-22 23:11, Armin Burger pisze:
 not a very elegant solution, but should work:

 add the following block at the end of your
/config/[your-config]/custom.js
 file

 $.extend(PM.Query,
 {
 createSearchItems: function(url) {
 $.ajax({
 url: url,
 dataType: json,
 success: function(response){
 var searchJson = response.searchJson;
 var action = response.action;

 //---
 delete searchJson.options[0];
 //---

 if (action == 'searchitem') {
 PM.Query.createSearchInput(searchJson);
 } else {
 var searchHtml = PM.Query.json2Select(searchJson, 
 0);
 $('#searchoptions').html(searchHtml);
 }
 },
 error: function (XMLHttpRequest, textStatus, errorThrown) {
 if (window.console) console.log(errorThrown);
 }
 });
 }

 });




 or use

 //---
 if (Object.keys(searchJson.options).length  3) {
 delete searchJson.options[0];
 }
 //---

 to do this just in case the search has just 1 layer defined for search,
 in case you once will add another one you don't remember what you once
 modified...


 On 07/22/2014 07:25 PM, Bogumił Szady wrote:
 Hello,
 Is it possible to get one default search field turned on in the moment
 of starting of application window?
 I have only one layer to search and I would like to avoid every time
 selecting layer to search.


 all the best

 Bogumił

 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users
 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds
 ___
 pmapper-users mailing

Re: [pmapper-users] search one layer

2014-07-23 Thread Bogumił Szady
I suppose some error in brackets (syntax error).
I am trying to find...

Bogumil

W dniu 2014-07-23 20:38, Armin Burger pisze:
 Ok, the change event is not applied if no change happens... Try the
 following for the custom.js which should also improve the labels and
 logic in this case:

 $.extend(PM.Query,
 {
   createSearchItems: function(url) {
   $.ajax({
   url: url,
   dataType: json,
   success: function(response){
   var searchJson = response.searchJson;
   var action = response.action;

   if (action == 'searchitem') {
   PM.Query.createSearchInput(searchJson);
   } else {
   delete searchJson.options[0];
   var searchHtml = PM.Query.json2Select(searchJson, 0);
   $('#searchoptions').html(searchHtml);
   PM.Query.setSearchInput();
   $('#searchoptions').html(_p(Search
 for)).css({white-space: nowrap});
   }
   },
   error: function (XMLHttpRequest, textStatus, errorThrown) {
   if (window.console) console.log(errorThrown);
   }
   });
   }

 });


 On 07/23/2014 08:58 AM, Bogumił Szady wrote:
 Hello,
 Thanks. I have tried to insert this modification.
 I see my layer defined, but without white box on the right to put the
 search attribute.
 Where is the the problem?

 best

 Bogumił


 W dniu 2014-07-22 23:11, Armin Burger pisze:
 not a very elegant solution, but should work:

 add the following block at the end of your
/config/[your-config]/custom.js
 file

 $.extend(PM.Query,
 {
 createSearchItems: function(url) {
 $.ajax({
 url: url,
 dataType: json,
 success: function(response){
 var searchJson = response.searchJson;
 var action = response.action;

 //---
 delete searchJson.options[0];
 //---

 if (action == 'searchitem') {
 PM.Query.createSearchInput(searchJson);
 } else {
 var searchHtml = PM.Query.json2Select(searchJson, 
 0);
 $('#searchoptions').html(searchHtml);
 }
 },
 error: function (XMLHttpRequest, textStatus, errorThrown) {
 if (window.console) console.log(errorThrown);
 }
 });
 }

 });




 or use

 //---
 if (Object.keys(searchJson.options).length  3) {
 delete searchJson.options[0];
 }
 //---

 to do this just in case the search has just 1 layer defined for search,
 in case you once will add another one you don't remember what you once
 modified...


 On 07/22/2014 07:25 PM, Bogumił Szady wrote:
 Hello,
 Is it possible to get one default search field turned on in the moment
 of starting of application window?
 I have only one layer to search and I would like to avoid every time
 selecting layer to search.


 all the best

 Bogumił

 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users
 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https

Re: [pmapper-users] search one layer

2014-07-23 Thread Bogumił Szady
It works
Thanks a lot!

Bogumił
W dniu 2014-07-23 20:38, Armin Burger pisze:
 $.extend(PM.Query,
 {
   createSearchItems: function(url) {
   $.ajax({
   url: url,
   dataType: json,
   success: function(response){
   var searchJson = response.searchJson;
   var action = response.action;

   if (action == 'searchitem') {
   PM.Query.createSearchInput(searchJson);
   } else {
   delete searchJson.options[0];
   var searchHtml = PM.Query.json2Select(searchJson, 0);
   $('#searchoptions').html(searchHtml);
   PM.Query.setSearchInput();
   $('#searchoptions').html(_p(Search
 for)).css({white-space: nowrap});
   }
   },
   error: function (XMLHttpRequest, textStatus, errorThrown) {
   if (window.console) console.log(errorThrown);
   }
   });
   }

 });

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] search one layer

2014-07-22 Thread Bogumił Szady
Hello,
Is it possible to get one default search field turned on in the moment 
of starting of application window?
I have only one layer to search and I would like to avoid every time 
selecting layer to search.


all the best

Bogumił

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] MAXSCALE and Identify

2013-05-26 Thread Bogumił Szady
Hello,

http://www.mail-archive.com/pmapper-users@lists.sourceforge.net/msg03914.html

Is there any solution regarding feature or as you said bug of 
mapserver or php mapscript
relating MINSCALEDENOM paramater. I am trying to use zoom to minscale, 
but it doesn't work well...

kind regards and thanks for help in advance

Bogumił

sz...@kul.lublin.pl mailto:%20sz...@kul.lublin.pl
hgis.kul.lublin.pl hgis.kul.lublin.pl
geohistoria.pl geohistoria.pl

--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Problem in suggest search of PostGIS layers

2013-05-19 Thread Bogumił Szady
Hello,
I have the problem with letters with diactrics (Polish) in suggest search...
If one of these letters (ł, ą, ś etc.) is found at the beginning of the 
word, the suggest list doesn't include this name.
Apart of this problem everything is ok. If the letter with diactric sign 
is the second or next, the suggest list is ok.

Have you got any idea.

all the best

Bogumił
--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] webpage

2013-05-16 Thread Bogumił Szady
Hello,
Is there any problem with pmapper.net webpage?

Bogumil
--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] info category

2013-04-24 Thread Bogumił Szady
Hello,
I've tried to add icon for information about categories instead of 
context menu.
Is it possible? There is no problem to add icons for layers, however for 
categories I didn't manage to do it...

all the best, thanks for help

Bogumił
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] info category

2013-04-24 Thread Bogumił Szady
Hello,
I've tried to add icon for information about categories instead of 
context menu.
Is it possible? There is no problem to add icons for layers, however for 
categories I didn't manage to do it...

all the best, thanks for help

Bogumił
--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] layerselect plugin and collapsed treeview

2013-03-09 Thread Bogumił Szady
Dear All,

I installed the layerselect plugin and I would like to see at the 
beginning the collapsed categories. Where and what should I change...?


The options:
PM.categoriesClosed =['category_name'] in js_config.php
and category name=category_name closed=true in xml file

don't work in this case.

Thanks for help.

best wishes

Bogumił

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] rectangle select

2010-12-30 Thread Bogumił Szady
Hello,
I need some help.
Is it possible to use 'select by rectangle' tool with a group of layers 
(not with only one layer).

Thanks

Bogumil

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Bogumił Szady zaprasza Cię do GoldenLine.pl (przypomnienie)

2009-11-01 Thread Bogumił Szady
Przypominamy Ci, że Bogumił Szady wysłał do Ciebie 10 dni temu zaproszenie do 
społeczności GoldenLine. 
 
Kliknij poniżej aby zaakceptować zaproszenie:
http://www.goldenline.pl/rejestracja/8b8a76fa09e6fb73556699ef026402c8
 
Jeśli jesteś już członkiem GoldenLine możesz przyjąć zaproszenie wewnątrz 
systemu:
http://www.goldenline.pl/zaproszenie/email/akceptuj/8b8a76fa09e6fb73556699ef026402c8

Czym jest GoldenLine?
==
GoldenLine jest pierwszą w Polsce społecznością skupioną wokół rozwoju kariery 
i życia zawodowego. Pomoże Ci poznać ludzi, zaistnieć w branży i zrealizować 
Twoje cele na rynku pracy.


Kto należy do społeczności GoldenLine?
===
 * ludzie rozpoczynający karierę,
 * doradcy personalni,
 * specjaliści,
 * przedsiębiorcy,
 * kadra zarządzająca.

Masz pytania? Napisz do nas - i...@goldenline.pl

GoldenLine.pl

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Bogumił Szady zaprasza Cię do GoldenLine.pl

2009-10-21 Thread Bogumił Szady
Bogumił Szady jest członkiem społeczności GoldenLine i zaprasza Cię do swoich 
kontaktów.
 
Kliknij poniżej aby zaakceptować zaproszenie:
http://www.goldenline.pl/rejestracja/8b8a76fa09e6fb73556699ef026402c8
 
Jeśli jesteś już członkiem GoldenLine możesz przyjąć zaproszenie wewnątrz 
systemu:
http://www.goldenline.pl/zaproszenie/email/akceptuj/8b8a76fa09e6fb73556699ef026402c8

Czym jest GoldenLine?
==
GoldenLine jest pierwszą w Polsce społecznością skupioną wokół rozwoju kariery 
i życia zawodowego. Pomoże Ci poznać ludzi, zaistnieć w branży i zrealizować 
Twoje cele na rynku pracy.


Kto należy do społeczności GoldenLine?
===
 * ludzie rozpoczynający karierę,
 * doradcy personalni,
 * specjaliści,
 * przedsiębiorcy,
 * kadra zarządzająca.

Masz pytania? Napisz do nas - i...@goldenline.pl

GoldenLine.pl

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] postgis search problem

2008-11-22 Thread Bogumił Szady
Hello,
I have the problem with searching my postgis layer (pmapper 3.2 on 
ubuntu). In version 3.1 everything worked fine:( And wiht shapefile 
works fine. The problem is postgis layer.
My search is simple:

searchitem name=Name description=Name
layer type=postgis name=Zabudowa
field type=s name=nazwa_miejscowosci 
description=Name  wildcard=0 /
/layer
 /searchitem

and layer too:

LAYER
  NAME Zabudowa
  TYPE POLYGON
  STATUS ON
  # TRANSPARENCY 60
  CONNECTIONTYPE postgis
  CONNECTION user=postgis password=*** dbname=postgis host=localhost 
port=5432   
  DATA the_geom FROM miejscowosci_obrysy USING UNIQUE gid
  LABELITEM nazwa_miejscowosci
  METADATA
   DESCRIPTION Localities #title on TOC and query result
   RESULT_FIELDS   nazwa_miejscowosci, typ_miejscowosci   
#fields called on query result
   RESULT_HEADERS  Name, Type #fields headers on query result
   # RESULT_HYPERLINKwww
   ows_title  Zabudowa
   gml_featureid gid ## REQUIRED
   gml_include_items all
   LAYER_ENCODING UTF-8
  END  # Metadata
DUMP TRUE
CLASS
Name Cities
EXPRESSION ('[typ_miejscowosci]' eq 'miasto')
COLOR 139 87 66
  LABEL
  POSITION Auto
  COLOR 54 54 54
  BUFFER 2
  TYPE truetype
  FONT verdana-bold
  SIZE 10
ENCODING UTF-8
END #Label
TEMPLATE void 
  END  # Class

CLASS
Name Villages   
EXPRESSION ('[typ_miejscowosci]' eq 'wieś')
COLOR 205 129 98
  LABEL
  POSITION Auto
  COLOR 54 54 54
  BUFFER 2
  TYPE truetype
  FONT verdana-bold
  SIZE 10
ENCODING UTF-8
END #Label
TEMPLATE void 
  END  # Class
CLASS
Name Farms, mills and taverns
EXPRESSION ('[typ_miejscowosci]' ne 'wieś' and '[typ_miejscowosci]' 
ne 'miasto')
COLOR 255 160 122
  LABEL
  POSITION Auto
  COLOR 54 54 54
  BUFFER 2
  TYPE truetype
  FONT verdana
  SIZE 10
ENCODING UTF-8
END #Label
   TEMPLATE void 
  END  # Class

END  # Layer


Could anyone have the same problem...

Pozdrawiam
Bogumil
   

-
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


[pmapper-users] postgis polygons

2008-01-09 Thread Bogumił Szady
Hello,

I am trying to create a polygon layer from existing polygons in my table in
postgis database. 

When I use the sql command on postgis database it works and make the one
polygon from others

 

INSERT INTO dekanaty (the_geom,dekanat)

SELECT (geomunion(the_geom)) AS the_geom,dekanat FROM parafie

GROUP BY dekanat

 

But when I put the same command in mapfile I can't see the layer

 

DATA the_geom FROM (SELECT min(gid) AS gid, (geomunion(the_geom)) AS
the_geom FROM parafie GROUP BY dekanat) USING UNIQUE gid

 

I don't know where I make the error

Thanks for help

 

Bogumil

-
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


[pmapper-users] postgis layer

2008-01-09 Thread Bogumił Szady
Hi,

I found the solution:

 

DATA the_geom FROM (SELECT min(gid) AS gid, (geomunion(the_geom)) AS
the_geom FROM parafie GROUP BY dekanat) foo USING UNIQUE gid

 

Bogumil

 

-
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


[pmapper-users] metadata from Postgis

2007-09-13 Thread Bogumił Szady
Hello,

I would like to define the columns of table from my POSTGIS database, which
display in pmapper. I don't know how build expressions in metadata section
in mapfile. When I put wms_exlude_items oraz gml_include_items etc. it
doesn't work, and displays ALL columns of the table.

 

Thanks

Bogumił

 

LAYER

  NAME Zydzi

  TYPE Polygon

  # DATA KOSCIOLY_point

  STATUS ON

  CONNECTIONTYPE postgis

  CONNECTION user= password= dbname=... host=
port=5432 

  DATA the_geom FROM obrysy

  SYMBOLSCALE 30

  LABELITEM nazwa

  METADATA

   wms_include_items nazwa

   # wms_title NAZWA

   # gml_include_items NAZWA

   DESCRIPTION Synagogues and Prayer Houses #title on TOC
and query result

   # RESULT_FIELDS   NAZWA   #fields called on query result

   # RESULT_HEADERS  Locality#fields headers on query result

# RESULT_FIELDS   NAZWA,MATERIAL   #fields called on query
result

#  RESULT_HEADERS  Locality,Building material #fields
headers on query result

   # TYPE truetype

   # FONT courier

   # LAYER_ENCODING ISO-8859-1

   # LAYER_ENCODING ISO-8859-2

   # LAYER_ENCODING Windows-1250

   # LAYER_ENCODING CP-852

   LAYER_ENCODING UTF-8

  END  # Metadata

 

 

 

 

 

dr Bogumił Szady

Katedra Historii XVI-XVIII w.

Instytut Historii KUL

tel. 660089782

[EMAIL PROTECTED]

http://www.szady.prv.pl http://www.szady.prv.pl/ 

 

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


[pmapper-users] mapaserver on Debian

2007-03-14 Thread Bogumił Szady
Hi,

I've installed, I suppose (apt-get package) the version mapserver 4.10
(http://packages.debian.org/testing/source/mapserver). Must i compile o
configure it?

Others packages are ready to use, but in that case I can't see the files
like mapserv

Help please

 

Bogumil 

-
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] method of installation

2007-03-07 Thread Bogumił Szady
Hi Mapservers!

Could you anyone advice mi how the best install mapserver and pmapper on
Debian sarge. 

Only main steps... 

I wolud like have mapserver 4.10 and pmapper 3.0.1. Must I configure it step
by step, first libraries etc..?

I try install only GD library, and it took me three hours, and I have only
command that I have GD 

gdlib-config -version

2.0.33

gdlib-config -libs

lm (i suppose :-))

 

Is there more simple way for instalation that programs?

 

Thanks

Bogumil

 

 

-
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] problem with initmap.php

2007-03-06 Thread Bogumił Szady
Hello,

I try use pmapper on fgs (mapserver) and Debian. I 

did all changes according to instructions (config.ini, mapfile) and I 

don't know why I have alert during starting program (demo or my mapfiles):

 

Parse error: parse error, unexpected T_OBJECT_OPERATOR in 

/home/gis/fgs/apps/pmapper-stable/incphp/init/initmap.php on line 171

 

I used the same files (.map and .ini), which before worked on Mandriva 

installation of my friend, which had got unresolved problem with 

polish letter. Now I try alone configure pmapper on my personal 

computer and Debian.

 

By the way gmap-demo works fine. It means that mapserver is installed 

and works.

 

Thanks for help

 

Bogumil

 

-
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] problem with initmap.php

2007-03-06 Thread Bogumił Szady
Gaston,
Thanks a lot. Anyway, is it very difficult update mapserver?
Bogumil

-Original Message-
From: Gaston Izaguirre [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 06, 2007 8:11 PM
To: pmapper-users@lists.sourceforge.net
Cc: Bogumil Szady
Subject: Re: [pmapper-users] problem with initmap.php

Bogumil,

What version of mapserver you are using? Perhaps the 4.8?
I had the same problem with that version of mapserver (ms4w 1.55 and PHP 
4.3) but I didn't find the solution, only a workaround, thanks to Marino 
Fiorito.

If you change line 171 of initmap.php:
if (!$this-map-getLayerByName($ml)-group) {

by this line:
if (!$ml-group) {
You will avoid having this problem. Remember, it's only a workaround, I do 
not know the causes that originate this problem.

Later I updated to mapserver 4.10 (with PHP 5.2) and to pmapper 3.1 and the 
problem disappeared.

Hope that this helps you.

Gaston.



- Original Message - 
From: Bogumil Szady [EMAIL PROTECTED]
To: pmapper-users@lists.sourceforge.net
Sent: Tuesday, March 06, 2007 3:43 PM
Subject: [pmapper-users] problem with initmap.php


 Hello,

 I try use pmapper on fgs (mapserver) and Debian. I

 did all changes according to instructions (config.ini, mapfile) and I

 don't know why I have alert during starting program (demo or my mapfiles):



 Parse error: parse error, unexpected T_OBJECT_OPERATOR in

 /home/gis/fgs/apps/pmapper-stable/incphp/init/initmap.php on line 171



 I used the same files (.map and .ini), which before worked on Mandriva

 installation of my friend, which had got unresolved problem with

 polish letter. Now I try alone configure pmapper on my personal

 computer and Debian.



 By the way gmap-demo works fine. It means that mapserver is installed

 and works.



 Thanks for help



 Bogumil



 -
 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
 


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

2007-03-02 Thread Bogumił Szady
Hi,

Could You give me advice. Which distribution of linux is the best for
mapserver and pmapper installation... 

 

Thanks

Bogumil

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

2007-03-01 Thread Bogumił Szady
Hi,

I'm newbie on pmapper. I try use it on linux platform and I have problems
with searching polish letters... Earlier I had MS4W package and pmapper 2,
and all was good. Because of shapefile I must use the specific codes pages.

 

for .ini:  defCharset = Windows-1250, 

for. map: 

METADATA  - TYPE truetype, FONT verdana, LAYER_ENCODING
UTF-8; 

LABEL  - FONT verdana TYPE truetype ENCODING Windows-1250. 

 

This configuration worked with ms4w and I saw all strange polish signs and
could search them:-). Now, with linux, I see polish letter but function
search can't search polish letters like: ł, ś, ą etc. When I put names
within polish letter it's all right, but enough to one polish letter and
doesn't work.

 

Could You help me

Bogumil

 

 

-
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