[pmapper-users] Search in 2 columns using only one field

2015-12-22 Thread Juliano Cesar P. Agostinho
Hello, I have one SHPfile with 3 columns [ street name / first number / last number ] but i don't know how search in 2 columns using only one field. MAPFILE: LAYER NAME "Street1" GROUP GEOSTREET1 TYPE LINE STATUS

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

Re: [pmapper-users] search one layer

2014-07-23 Thread Armin Burger
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,

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

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:

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

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

Re: [pmapper-users] search one layer

2014-07-22 Thread Armin Burger
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:

Re: [pmapper-users] Search several database columns at the same time with the same search field

2014-07-15 Thread Pedro Venâncio
Hi I tried in several ways, but without success, because I had to get the content of col1 and col2. Then I remembered to do it the right way and normalized the database. So now it is working with a FULL OUTER JOIN. Thanks for your support! Best regards, Pedro

Re: [pmapper-users] Search several database columns at the same time with the same search field

2014-07-14 Thread Suman
: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Search-several-database-columns-at-the-same-time-with-the-same-search-field-tp4025500p4025531.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com

Re: [pmapper-users] Search several database columns at the same time with the same search field

2014-07-11 Thread Pedro Venâncio
Hi, Do you think this is possible just configuring the search in the config_xxx.xml? I've tried several ways, but without success. Thanks. Best regards, Pedro - Mensagem original - DE: Pedro Hi, I'm trying to create a search of type suggest, that search multiple columns

[pmapper-users] Search several database columns at the same time with the same search field

2014-07-08 Thread Pedro Venâncio
Hi, I'm trying to create a search of type suggest, that search multiple columns of a PostGIS layer, at the same time. For example, col1 | col2 a | b c | d e | f ... I tried this: searchitem name=n_casas description=Casas     layer type=postgis name=tipo         field type=s name=col1

Re: [pmapper-users] Search several database columns at the same time with the same search field

2014-07-08 Thread Pedro Venâncio
Sorry, I forgot to attach the image. Here it is. Best regards, Pedro - Mensagem original - DE: Pedro Assunto: Search several database columns at the same time with the same search field Hi, I'm trying to create a search of type suggest, that search multiple columns of a

[pmapper-users] search with numeric field of postgis table and wildcard 1 not functions

2013-11-28 Thread info
dear pmapper users i have a table with field raumnr (numeric 3,2 unique) and field gid (integer as primary key). in the mapfile i have all the field names. my searchfile: searchitem name=1 description=1 Untergeschoss layer type=postgis name=e44_ug field type=n name=raumnr

Re: [pmapper-users] search with numeric field of postgis table and wildcard 1 not functions

2013-11-28 Thread Chris forum
Hallo Matthias, Have a look at the pm_debug.log You should find there what request is sent to PGSQL. Regards, Chris On Thu, Nov 28, 2013 at 11:59 AM, i...@architekten.coop wrote: dear pmapper users i have a table with field raumnr (numeric 3,2 unique) and field gid (integer as primary

Re: [pmapper-users] search with numeric field of postgis table and wildcard 1 not functions

2013-11-28 Thread info
thank you chris, i missed to mention the error log in my question, here the only message i got: error_pmapper.log: [28-Nov-2013 11:36:39] P.MAPPER: PG Query error for : SELECT gid, xmin(box3d(the_geom)), ymin(box3d(the_geom)),

Re: [pmapper-users] search with numeric field of postgis table and wildcard 1 not functions

2013-11-28 Thread Armin Burger
Wildcard searches as you can see in the debug logs are using ILIKE function, this however will not work on numeric fields. Just insert the query in a standard DB client and you will get errors. On 11/28/2013 04:36 PM, i...@architekten.coop wrote: thank you chris, i missed to mention the

Re: [pmapper-users] search for....... Warning: pg_numrows() expects parameter 1

2012-10-09 Thread Thomas RAFFIN
Hi, With postgis 2, you need a recent pmapper. What version are you using please? Thomas Le 08/10/2012 20:18, miguel miguelito a écrit : Hello Friends'm on the verge of madness happens that the search for ... fails, use win7, ms4w_3.0.6, postgis 2 data tables are drawn on the pmapper, pear

Re: [pmapper-users] search for....... Warning: pg_numrows() expects parameter 1

2012-10-09 Thread Thomas RAFFIN
/* escribió: De: Thomas RAFFIN traf...@sirap.fr Asunto: Re: [pmapper-users] search for... Warning: pg_numrows() expects parameter 1 Para: pmapper-users@lists.sourceforge.net Fecha: martes, 9 de octubre, 2012 01:30 Hi, With postgis 2, you need a recent

[pmapper-users] search for....... Warning: pg_numrows() expects parameter 1

2012-10-08 Thread miguel miguelito
Hello Friends'm on the verge of madness happens that the search for ... fails, use win7, ms4w_3.0.6, postgis 2 data tables are drawn on the pmapper, pear install MDB2. HolaAmigos estoy al borde de la locura sucede que el buscar por... no da resultado, uso win7, ms4w_3.0.6, postgis 2, los datos

[pmapper-users] search postgis layer eror

2012-09-05 Thread surahman putra
Hi I have problem with search tool on pmapper when I change my shapefile layer to my postgis layer. After I change to postgis layer, search tool never give a result and keep processing. I am using pmapper v.4.2, mapserver v.6.0.3, php v.5.4.3 and postgis v.2.0. Is there any compability issue

[pmapper-users] search

2012-03-28 Thread Pedro Costa
Hello list, I have one problem, When I move my files of p.mapper to server, my search of two layers, (configured in layer_config) crashed, it's forever making the load... In the log files i don´t find nothing about that... Someone have an idea about what is the problem? Thanks Pedro

Re: [pmapper-users] Search definition via XML file for DB

2012-01-24 Thread Armin Burger
On 24/01/2012 07:29, Andreas Douvalis wrote: Sorry for my mistakes! Again my question: Why in Search definition via XML we have to write dsn string? I think it is more convenient to construct dsn string from connection string of layer in map file. In other case I have to maintain two

Re: [pmapper-users] search and activation of layer

2012-01-23 Thread Armin Burger
you can try the following: add in your custom.js under your /config/your-config/ directory (usually 'default') the following lines $.extend(PM.Query, { getQueryResult: function(qurl, params) { $.ajax({ type: POST, url: qurl, data: params,

[pmapper-users] Search definition via XML file for DB

2012-01-23 Thread Andreas Douvalis
Hi! Whi in Search definition via XML we have to write dsn string? I think it is more convenient to construct dsn string from connection string of layer in map file. Ii other case I have to maintain two config files (map file and search.xml). Am I right or I miss something?

[pmapper-users] Search definition via XML file for DB

2012-01-23 Thread Andreas Douvalis
Sorry for my mistakes! Again my question: Why in Search definition via XML we have to write dsn string? I think it is more convenient to construct dsn string from connection string of layer in map file. In other case I have to maintain two config files (map file and search.xml). Am I right or

[pmapper-users] search attributes on postgres/postgis layer

2010-07-16 Thread Alberto Laurenti
Hi all, I've many postgis layers in my mapfile. I'm able to make a search for a field in a polygon layer but not in a point layer. In this second case (layer Test) search starts but nothing happens. I attach mapfile and config_default.xml. Any hints? Thanks in advance MAPFILE

Re: [pmapper-users] search attributes on postgres/postgis layer

2010-07-16 Thread Alberto Laurenti
Solved! There were some fields upper case and others in lower case, in my Postgres DB. A. Da: Alberto Laurenti a.laure...@yahoo.it A: pmapper-users@lists.sourceforge.net Inviato: Ven 16 luglio 2010, 15:11:04 Oggetto: [pmapper-users] search attributes

Re: [pmapper-users] Search does not work.

2010-01-21 Thread richardcam...@adinet.com.uy
Estimado Nahum, la versión de pmapper es la 4 stable, adjunto parte archivos de configuración: Archivo .map LAYER CONNECTIONTYPE postgis DATA the_geom from v_callepuerta USING UNIQUE gid USING SRID=32721 TYPE point CONNECTION

Re: [pmapper-users] Search does not work.

2010-01-21 Thread Armin Burger
The SQL used is missing the result fields and therefore the SQL is not correct (the comma at the end of the line before FROM...) . Try to add the result fields in the layer definition like METADATA ... RESULT_FIELDS NAME, ISO2_CODE, POPULATION, GTOPO30 RESULT_HEADERS

Re: [pmapper-users] Search does not work.

2010-01-21 Thread Armin Burger
just noticed that you're mainly missing the template tag for the layer, so *no* query will work. see http://svn.pmapper.net/trac/wiki/DocManual#LayerGroupDescriptionsandFieldsforQueries On Thu, Jan 21, 2010 at 12:16 PM, richardcam...@adinet.com.uy richardcam...@adinet.com.uy wrote: Estimado

Re: [pmapper-users] Search does not work.

2010-01-21 Thread richardcam...@adinet.com.uy
-users@lists.sourceforge.net Asunto: Re: [pmapper-users] Search does not work. just noticed that you're mainly missing the template tag for the layer, so *no* query will work. see http://svn.pmapper. net/trac/wiki/DocManual#LayerGroupDescriptionsandFieldsforQueries On Thu, Jan 21, 2010 at 12:16 PM

Re: [pmapper-users] Search does not work.

2010-01-20 Thread Nahum Castro
Spanish ¿Cómo tienes definido tu .map y el archivo de configuración de búsquedas? ¿Qué versión de pmapper tienes?. English How is defined your .map file and search.xml file? Wich pmapper version you have? Saludos. Nahum 2010/1/20 richardcam...@adinet.com.uy richardcam...@adinet.com.uy llo

Re: [pmapper-users] Search 2 (or more) fields with same data column

2010-01-05 Thread Armin Burger
On 05/01/2010 04:26, i-boy wrote: Thanks you Armin, it works great ! I have updated Docs at the end of trac/wiki/DocManualsearch with this: --- For search multi-items in one database column: - In file search.php = function: getSearchParameters()

Re: [pmapper-users] Search 2 (or more) fields with same data column

2010-01-04 Thread Armin Burger
On 04/01/2010 04:40, i-boy wrote: Hi lists, I defined a search item like this: -- searchitem name=Dist description=District ___layer type=shape name=HN_District __field type=s name=D_Name description=ID0 wildcard=0 / __field

Re: [pmapper-users] Search 2 (or more) fields with same data column

2010-01-04 Thread i-boy
Thanks you Armin, it works great ! I have updated Docs at the end of trac/wiki/DocManualsearch with this: --- For search multi-items in one database column: - In file search.php = function: getSearchParameters() change $operator from AND to OR - Use

[pmapper-users] Search 2 (or more) fields with same data column

2010-01-03 Thread i-boy
Hi lists, I defined a search item like this: -- searchitem name=Dist description=District ___layer type=shape name=HN_District __field type=s name=D_Name description=ID0 wildcard=0 / __field type=s name=D_Name description=ID1

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

2009-12-18 Thread G. Allegri
Hi Thomas. it' not clear how DATASUBSTITUTION works. AFAICS it's only used inside pmap_addResultLayer 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

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

2009-12-18 Thread Thomas Raffin
Hi, I mean pmapper will use the DATA definition when it needs to draw object and PM_RESULT_DATASUBSTITION definition when it needs to search object (attributes queries) or show attributes values (results in the table, iquery, ...). So it will draw only one object of your main table witch

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

2009-12-18 Thread G. Allegri
I don't want to bother you more, but... I have set my mapfile with PM_RESULT_DATASUBSTITION, but if I query/search I obtain only one result. I don't see PM_RESULT_DATASUBSTITION in the query code (search.php, query.php and squery.php), so it seems it's rever used during the query phase... Ok,

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
I don't know if it is documented. I'm sure we have discuss about it with Armin, but that's it... G. Allegri a écrit : Thanks Thomas. I will take a look to this PM_RESULT_DATASUBSTITION. Is it documented? I didn't see it anywhere... except into map.php, now that you indicated it :) giovanni

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

2009-12-16 Thread G. Allegri
Hello list. Before spending too much time on this, I would like to know if the trunk beta supports this thing: I have a big postgis table with a time series (TS) associated with a polygonal grid layer. For each polygon/cell I have multiple rows in the TS table. Let's say I have the list od daily

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

2009-12-16 Thread Armin Burger
On 16/12/2009 20:04, G. Allegri wrote: Hello list. Before spending too much time on this, I would like to know if the trunk beta supports this thing: I have a big postgis table with a time series (TS) associated with a polygonal grid layer. For each polygon/cell I have multiple rows in the

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

2009-12-16 Thread G. Allegri
Thanks Armin for the quick reply. The problem is not with the join, my doubt is about how to use it :) I have the following structure: GRID | gid |the_geom | | 1 | MULTYPOLYGON..| | 2 |

Re: [pmapper-users] search question

2009-11-27 Thread Armin Burger
Javier for p.mapper 4 set in /config/.../js_config.php PM.suggestLaunchSearch = false; (true is the default) for pm 3 it should be something like 'pmSuggestLaunchSearch' instead armin 2009/11/27 Fco. Javier García Ricca fjri...@gmail.com: Hello, I use this code in the config.xml.  

[pmapper-users] search question

2009-11-26 Thread Fco . Javier García Ricca
Hello, I use this code in the config.xml. searchitem name=secciones description=Secciones Censales layer type=shape name=secciones field type=s name=Distrito_1 description=Distrito wildcard=2 definition type=suggest

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

[pmapper-users] search

2009-10-05 Thread Kevin Edmundson
I have a relatively complex search for a parcel layer (sale price range (low - high) sale date range (low - high)) that I want to present to the user to use. However...the search parameters that show are too large to display on the normal search area. Is there a way to force the search

Re: [pmapper-users] search

2009-10-05 Thread Siki Zoltan
Hi Kevin, What about using queryeditor plugin or customise it for your purposes? Regards, Zoltan On Mon, 5 Oct 2009, Kevin Edmundson wrote: I have a relatively complex search for a parcel layer (sale price range (low - high) sale date range (low - high)) that I want to present to the user

[pmapper-users] search

2009-09-13 Thread Siki Zoltan
Hi List, I get in trouble with search, I have slash character in the search pattern. When I use wildcard=2 it works, but when I try to use wildcard 0 or 1 it finds no match because slases are not escaped in query string ($qs in search.php). in pm_debug.log I get [qStr] = ( [HRSZ] =~

Re: [pmapper-users] search

2009-09-13 Thread Dejan . Gambin
Zoltan, I use something like this in query.php, q_execAttributeQuery() (around line 724): if (substr_count($this-qStr, /) == 3) { $qStrArray = explode(/, $this-qStr); $newqStr = $qStrArray[0]./.$qStrArray[1]...$qStrArray[2]./.$qStrArray[3];

Re: [pmapper-users] search

2009-09-13 Thread Siki Zoltan
Dear Dejan, Thank you for your answer. I did something similar as a quick and dirty solution. Using . instead of / has some side effect. If the search pattern is /^12.5$/ will match not only 12/5, but 1215, 1225, etc. This side affect is difficult to explane to the end users. Thanks, Zoltan

Re: [pmapper-users] Search from Shapefile problem (with dirty patch)

2009-05-06 Thread raul retamozo velarde
Subject: [pmapper-users] Search from Shapefile problem (with dirty patch) Hi, I experienced the search from shapefile problem: blank result when wildcard is set to 0 in search.xml. I got the same problem with pmapper 3 and 4beta. It turned out that the syntax of the query was wrong

Re: [pmapper-users] Search from Shapefile problem (with dirty patch)

2009-05-06 Thread Armin Burger
: Wed, 6 May 2009 13:30:51 +0200 From: nicc...@rigacci.org To: pmapper-users@lists.sourceforge.net Subject: [pmapper-users] Search from Shapefile problem (with dirty patch) Hi, I experienced the search from shapefile problem: blank result when wildcard is set to 0 in search.xml. I got

Re: [pmapper-users] Search OGR layer

2009-01-28 Thread Juliano Agostinho
Hi Armin, Thxs I found the problem, in the LAYER CLASS I forgot the sintaxe TEMPLATE void. Date: Tue, 27 Jan 2009 19:47:03 +0100 From: armin.bur...@gmail.com To: juliano...@hotmail.com CC: pmapper-users@lists.sourceforge.net Subject: Re: [pmapper-users] Search OGR layer

[pmapper-users] Search OGR layer

2009-01-27 Thread Juliano Agostinho
Hi, I have many layers with OGR connection but i dont know how config the search file. MAPFILE : LAYER NAME City MAXSCALE 8000 TYPE POLYGON STATUS ON CONNECTIONTYPE OGR CONNECTION City.TAB STYLEITEM AUTO

Re: [pmapper-users] Search OGR layer

2009-01-27 Thread Armin Burger
and whats's the problem with your settings? does your listed search config not work with map info files? do you get errors, no results? I converted the cities1eu shapefile from the demo data to tab format and everything works fine as with it in shapefile format. armin On 27/01/2009 12:36,

[pmapper-users] Search XML with PostGIS

2008-10-17 Thread Andreas Haux
Hi, p.mapper is great - and I am experimenting for quite a while but didn't found out how exactly to define a search funktion in the search.xml file using PostGIS; the examples show the connection without sending a username and password. e.g.: Database name ist testdb Tablename is testfile

Re: [pmapper-users] Search XML with PostGIS

2008-10-17 Thread Armin Burger
Andreas have a look here http://svn.pmapper.net/trac/browser/pmapper/trunk/config/dev/search.xml If you do not need things like options/suggest then the definition should be quite straightforward: searchitem name=cities_pg description=City PG layer type=postgis name=cities1eu_pg

Re: [pmapper-users] Search XML with PostGIS

2008-10-17 Thread Andreas Haux
Armin, thanks for your feedback - and sorry for coming back with this issue. I have defined the XML as follows: ?xml version='1.0'? !-- ?xml-stylesheet href=style.xsl type=text/xsl ? -- searchlist version=1.0 dataroot$/dataroot searchitem name=pfarreien description=Pfarrei

Re: [pmapper-users] Search XML with PostGIS

2008-10-17 Thread Marcello Benigno
Hi Andreas and Armin, I have te *same problem* too. why it happens? I have defined the XML as follows: searchitem name=acudes_grupo description=Açudes layer type=postgis name=acudes field type=s name=ds_acude description=Nome do Açude wildcard=0 / /layer

Re: [pmapper-users] Search XML with PostGIS

2008-10-17 Thread Armin Burger
Andreas 1. Check all the error logs (mainly PHP, but also Javascript) 2. set the debugging to value 3 and analyze the debug output. You should get the query strings sent to the database. Try to launch this query directly on the database via a generic DB client. See the FAQ for more details

Re: [pmapper-users] Search XML with PostGIS

2008-10-17 Thread Armin Burger
see my mail to Andreas. In your case in addition: make you life easier and put your join in a DB view and try using this view as DATA. armin On 17/10/2008 16:38, Marcello Benigno wrote: Hi Andreas and Armin, I have te *same problem* too. why it happens? I have defined the XML as follows:

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

2008-07-12 Thread Salvator*eL*arosa
pag66 wrote: Try to use this metadata LAYER_ENCODING UTF-8 end in your layer definition I think it solve your problem Thanks for your reply, but it don't work for me! My pm_debug is: [12-Jul-2008 15:05:04] P.MAPPER debug info Searcharray in search.php-getSearchParameters()

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

2008-07-12 Thread Armin Burger
seems there are a bit too many escaping backslashes added. Check your php.ini file for magic_quotes_gpc and magic_quotes_runtime and if they're set to On, try to set them to Off and see if the problem still appears. Armin On 12/07/2008 13:12, Salvator*eL*arosa wrote: pag66 wrote:

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

2008-07-12 Thread Salvator*eL*arosa
Armin Burger-2 wrote: seems there are a bit too many escaping backslashes added. Check your php.ini file for magic_quotes_gpc and magic_quotes_runtime and if they're set to On, try to set them to Off and see if the problem still appears. Armin On 12/07/2008 13:12,

[pmapper-users] search dinamic list

2008-07-02 Thread masiero emanuele
Hello everyone one question: in the search list, is it possible to see only fields of layer turned on in TOC? I have a TOC with many layers and I have a search field list very large! thanks emanuele masiero _ Tutta la posta in un

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

2008-07-02 Thread pag66
Try to use this metadata LAYER_ENCODING UTF-8 end in your layer definition I think it solve your problem -- View this message in context: http://www.nabble.com/search-for...-tp17648809p18244826.html Sent from the pmapper users mailing list archive at Nabble.com.

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

2008-06-17 Thread Salvator*eL*arosa
Salvator*eL*arosa wrote: Hello everyone, I have a problem with apostrophes in research an attribute! The fields with SANT'ANTONIO, SANT'AGATA produce no result! Someone knows how can I fix? Someone has some ideas about? Thanks! - Salvatore Larosa GPG: 0xE504BBE2 (FP:

[pmapper-users] search for...

2008-06-04 Thread Salvator*eL*arosa
Hello everyone, I have a problem with apostrophes in research an attribute! The fields with SANT'ANTONIO, SANT'AGATA produce no result! Someone knows how can I fix? - Salvatore Larosa GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2) -- View this message in context:

[pmapper-users] Search / zoomto error

2007-12-06 Thread Cristian_rougier
Dears, when i try to zoomto an item of search result, nothing happen and in my php_error.log say : [06-Dec-2007 13:17:11] PHP Fatal error: Object expected as argument. in C:\ms4w\apps\pmapper-3.2-beta2\incphp\map.php on line 735. this is my layer LAYER NAME vias_dao STATUS ON TYPE

Re: [pmapper-users] Search / zoomto error

2007-12-06 Thread Armin Burger
and what is written in the file \incphp\map.php in the lines before line 735...? Cristian_rougier wrote: Dears, when i try to zoomto an item of search result, nothing happen and in my php_error.log say : [06-Dec-2007 13:17:11] PHP Fatal error: Object expected as argument. in

Re: [pmapper-users] Search / zoomto error

2007-12-06 Thread Cristian Rougier
-Original Message- From: Armin Burger [mailto:[EMAIL PROTECTED] Sent: jueves, 06 de diciembre de 2007 13:58 To: Cristian_rougier Cc: pmapper-users@lists.sourceforge.net Subject: Re: [pmapper-users] Search / zoomto error and what is written in the file \incphp\map.php in the lines before line 735

[pmapper-users] search in postgis layer is always with wildcard

2007-10-16 Thread ivan minčík
Armin, I found that the search in postgis layer is always with wildcard. It is not respecting wildcard=0 or wildcard=1 in search.xml . I just temporary replaced $qs .= $valoperator $f ~* '$wc1$val$wc2' ; by $qs .= $valoperator $f = '$val' ; to get it working without the wildcard.

Re: [pmapper-users] search in postgis layer is always with wildcard

2007-10-16 Thread Armin Burger
You need to read the docs. - wildcard=0 means that the query is *always* performed in a non-exact way, applying regex style pattern matching. In other words: the query is always performed as if the user had typed wildcards. For a user typed string pippo, in regex notation this would be

[pmapper-users] search button

2007-09-17 Thread [EMAIL PROTECTED]
Hi, i have a problem about the width of button search, when i change width in query.css: div.searchitem input, select { font-size : 9px; background-color : #EBEBEB; border-color : #003366; border-width : 1px; padding-top: 1px; padding-left: 2px; width:

Re: [pmapper-users] search button

2007-09-17 Thread Armin Burger
maybe this helps: input.search_textinput { width:18em; } instead of specifying the width in 'div.searchitem input, select' armin [EMAIL PROTECTED] wrote: Hi, i have a problem about the width of button search, when i change width in query.css: div.searchitem input, select {

Re: [pmapper-users] search

2007-09-14 Thread Walter Lorenzetti
Hi Gregor, It's a strange behavior... If you are using frame query visual option... don't you see no match found on frame window? Please can you post your search.xml file? W Gregor Mosheh ha scritto: Now for the last item: the search widget. I configured search.xml and it shows my new

Re: [pmapper-users] search

2007-09-14 Thread Gregor Mosheh
Walter Lorenzetti wrote: It's a strange behavior... If you are using frame query visual option... don't you see no match found on frame window? Correct; it displays nothing. Under Firefox, there's no JavaScript error either, FYI. The map is at http://69.59.158.6/pmapper/2/map.phtml I did make

[pmapper-users] search

2007-09-13 Thread Gregor Mosheh
Now for the last item: the search widget. I configured search.xml and it shows my new options for searching by road name, parcel owner name, etc. When I run a search, nothing happens. Is there an option I have to set to have searches work, as there was with the query info? -- Gregor Mosheh /

[pmapper-users] Search function over a postgis layer problem.

2007-07-25 Thread luis alfios
Hi everyone First of all, I am testing pmapper with version p.mapper 3.1 beta4 (Mar 8, 2007) available in http://maptools.org/ms4w/index.phtml?page=downloads.html. The problem is the search function. When I search in a postgis layer this function goes wrong, however this same layer, converted to

Re: [pmapper-users] search in IE

2007-05-31 Thread wirote la
Dear Armin, I'm not sure it work for other encoding or not. My project use uft-8 encoding and problem with Thai character when search with IE not problem with FireFox. I just insert a line before line no.78 on xmlhttp.js 78 url = encodeURI(url); // add for thai search in IE before

Re: [pmapper-users] search in IE

2007-05-31 Thread Armin Burger
-users] search in IE Dear Armin, I'm not sure it work for other encoding or not. My project use uft-8 encoding and problem with Thai character when search with IE not problem with FireFox. I just insert a line before line no.78 on xmlhttp.js 78 url = encodeURI(url); // add

Re: [pmapper-users] Search on exact value

2007-05-24 Thread Luca Casagrande
Hi Armin, I am still working on the search feature of my project. I noticed this: In a column i have some value with a + at the end (like 23+); also if i set the search on the exact value using 23 as input show both 23 and 23+.This is ok. The matter is that if i use 23+ as search string, no

Re: [pmapper-users] Search on exact value

2007-05-24 Thread Luca Casagrande
Sorry, forgot the debug info: Search with 23+ [24-May-2007 15:29:10] P.MAPPER debug info Searcharray in search.php-getSearchParameters() Array ( [PHPSESSID] = 9a541549cd6b6e508eaad68df45b2eb7 [MAPPALE] = 23 [mode] = search ) [24-May-2007 15:29:10] P.MAPPER debug info Parameters for

Re: [pmapper-users] Search on exact value

2007-05-22 Thread Luca Casagrande
Thank you Armin...it works like charm! i'll continue the testing and will report any bug. Have a nice day Luca Il giorno 22/mag/07, alle ore 00:00, Armin Burger ha scritto: I uploaded a modified search.php: http://svn.pmapper.net/trac/browser/pmapper/trunk/incphp/query/ search.php it

[pmapper-users] Search on exact value

2007-05-21 Thread Luca Casagrande
Hi to all, I am using latest beta and it's working very fine! In the search feature,Is it possible to return just the matching item and not all the ones that contain the string? For example If i use 1 as search item for a layer, i got also all the items that contains 1 (10,11,12,ecc..).

Re: [pmapper-users] Search on exact value

2007-05-21 Thread Armin Burger
use the wildcard=1 and the search will look for exact matching and only use wildcards when explicetly specified with an asterisk. some info about search definitions is at http://svn.pmapper.net/trac/wiki/UpgradeInfo armin Subject: [pmapper-users] Search on exact value Hi to all

Re: [pmapper-users] Search on exact value

2007-05-21 Thread Armin Burger
. armin -- Subject: Re: [pmapper-users] Search on exact value Thanks Armin for the answer! Now got a problem, but i don't know if is a bug: I have got 2 search field: X and Y; if I set a value for each one, i don't get any result. If i set just X or just Y all works very fine

Re: [pmapper-users] Search on exact value

2007-05-21 Thread Armin Burger
have a look on it. You can also check the query parameters setting debug to 3 in the config.ini and then look at the file pm_debug.log that is created in the same dir as the PHP error log. armin -- Subject: Re: [pmapper-users] Search on exact value Thanks Armin for the answer

Re: [pmapper-users] Search on exact value

2007-05-21 Thread Armin Burger
I uploaded a modified search.php: http://svn.pmapper.net/trac/browser/pmapper/trunk/incphp/query/search.php it solved some problems with multiple fields. Try if it helps. armin Luca Casagrande wrote: I installed the p.mapper 3.1 beta-6 available and the result seem the same: [21-May-2007

Re: [pmapper-users] search in IE

2007-05-16 Thread Armin Burger
It's a bit difficult to identify the problem. It is somewhere in the handling of an XMLHttp request where IE6 does not want to accept non-Ascii characters and the request fails. I never noticed this before. I will see how to fix it. armin ivan mincik wrote: Dear Armin, first, thanks for

[pmapper-users] search in IE

2007-05-07 Thread ivan mincik
Dear Armin, first, thanks for relasing beta 5. I would like to also draw attention to one bug in searching layers by attributes in non UTF layers (in my case windows-1250) in IE. In firefox of opera browsers, everything is OK. only IE is bad. When I try to find fo example string Šariš -

[pmapper-users] search field encoding

2007-04-24 Thread Nahum Castro
Hello all. I have a problem with the search field, when i want to find something like Acámbaro, I get an error on Postgresql, It says than the word Ac\xe1mbaro is not a valid unicode. I have all my settings on UTF-8 Apache, Postgresql database, the metadata field on the map file, php.ini,

[Pmapper-users] Search display

2006-09-22 Thread Radhika
-users] Search display Hi Armin, While performing search , the place is highlighted.But I also want to display place name of the highlighted place. Please suggest me what should I do to display name of the highlighted point or polygon. Thanks Regards radhika

[Pmapper-users] Search display

2006-09-21 Thread Radhika
Hi Armin, While performing search , the place is highlighted.But I also want to display place name of the highlighted place. Please suggest me what should I do to display name of the highlighted point or polygon. Thanks Regards radhika.

[Pmapper-users] Search display

2006-09-21 Thread Armin Burger
modify the function 'pmap_addResultLayer()' and add a label. armin Original-Nachricht Datum: Thu, 21 Sep 2006 02:48:18 -0400 (EDT) Von: Radhika radhikadubey at infobase.in An: pmapper-users at faunalia.it Betreff: [Pmapper-users] Search display Hi Armin

[Pmapper-users] search is missing in 1.2.0

2006-03-09 Thread Carlos Timóteo
I tried to upgrade from 1.1.0 to 1.2.0 everything is looking better good work But i notice that search is missing in bottom. I looked to frameview.phtm and have no changes I looked in search.phtml and have no changes Why is not showing search options in bottom like in versions 1.0.8 or 1.1.0