[pmapper-users] openHyperlink

2014-05-07 Thread Eduardo Bieñkowski
ESPAÑOL
Estimados Amigos.
Yo necesito abrir un link a una página nueva  desde un marco de consulta,
estoy usando lo que esta documentado en ttp://
svn.pmapper.net/trac/wiki/DocManual#Hyperlinks

Les envío mi custom.js

$.extend(PM.Custom,
{
// Sample Hyperlink function for result window
openHyperlink: function(layer, fldName, fldValue) {
switch(layer) {
case 'pais_siembra_pl':
   //if (fldName == 'NOMBRE') {
var linkUrl = 'http:/'+'/en.wikipedia.org/wiki/'+fldValue;
  //window.open(linkUrl);
 this.openHyperlinkDialog(linkUrl);
//}
break;

default:  alert ('Vea la funcion en custom.js: ' + layer + ' -
' + fldName + ' - ' + fldValue);
}
},

// Sample how to open a link in a p.mapper dialog box
hyperlinkDlgOptions: {width:600, height:600, resizeable:true,
newsize:false, container:'pmDlgContainerHyperlink'},

openHyperlinkDialog: function(linkUrl) {
var dlg = PM.Dlg.createDnRDlg(this.hyperlinkDlgOptions,
_p('Hyperlink'), false);
var h = 'iframe width=99% height=98% src=' + linkUrl + ' /'
$('#pmDlgContainerHyperlink_MSG').html(h);
},

showCategoryInfo: function(catId) {
var catName = catId.replace(/licat_/, '');
alert('Info about category: ' + catName);
},
showGroupInfo: function(groupId) {
var groupName = groupId.replace(/ligrp_/, '');
}

});
Despliega el link en el marco en pmapper pero no funciona el link cuando es
invocado

***

ENGLISH
Dear Friends .
I need to open a link to a new page from a query framework , I am using
what is documented in ttp :/ / svn.pmapper.net / trac / wiki / DocManual #
Hyperlinks

I send my Custom.js

$ . extend ( PM.Custom ,
{
/ / Sample Hyperlink function for result window
openHyperlink : function (layer , fldName , fldValue ) {
switch (layer) {
case ' pais_siembra_pl ' :
/ / if ( fldName == ' NAME' ) {
linkUrl var = ' http:/ ' + '/ en.wikipedia.org / wiki /' + fldValue ;
/ / window.open ( linkUrl );
this.openHyperlinkDialog ( linkUrl ) ;
/ /}
break;

default: alert (' See function in Custom.js : ' + layer + '- '
+ fldName + '- ' + fldValue );
}
} ,

/ / Sample how to open a link in a dialog box p.mapper
hyperlinkDlgOptions : {width : 600 , height: 600, resizeable : true,
newSize : false, container: ' pmDlgContainerHyperlink '} ,

openHyperlinkDialog : function ( linkUrl ) {
var dlg = PM.Dlg.createDnRDlg ( this.hyperlinkDlgOptions , _p ( '
Hyperlink ' ) , false);
var h = ' iframe width=99% height=98% src=' + + ' linkUrl /
'
$ ('# pmDlgContainerHyperlink_MSG ' ) html ( h ) . ;
} ,


showCategoryInfo : function ( catId ) {
var catName = catId.replace ( / licat_ / ,'') ;
alert (' Info about category: ' + catName );
} ,

showGroupInfo : function ( groupId ) {
var groupName = groupId.replace ( / ligrp_ / ,'') ;
}




} ) ;
Displays the link in the framework pmapper but the link does not work when
invoked



-- 
Eduardo
--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Hyperlink for same values to different pages

2012-11-30 Thread Eduardo Bieñkowski
Hi all

I have the same problem in the file custom.js
Do not open the link even though the syntax is correct

my code is:

$.extend(PM.Custom,
7 {
8// Sample Hyperlink function for result window
9openHyperlink: function(layer, fldName, fldValue) {
10switch(layer) {
11case 'pais_siembra_pl':
12if (fldName == 'NOMBRE') {
13var linkUrl = 'http:/' + '/en.wikipedia.org/wiki/' +
fldValue;
14  //  window.open(linkUrl, 'wikiquery');
15this.openHyperlinkDialog(linkUrl);
16//}
17break;
18
19default:
20alert ('Vea la funcion en custom.js: ' + layer + ' - ' +
fldName + ' - ' + fldValue);
21}
22},


Regards



2012/11/30 Serge Claudio Rafanoharana rafanohar...@gmail.com

 Hi Armin and All,

 I would like to know whether it is possible or not to have different link
 for the same field value.

 Example: I have a field NAME. I want to create a link for the result from
 this field. The problem is that I have some cases where the values of NAME
 are the same. However, I want to point them to different pages.

 NAMEFIRSTNAME
 SimonCruze
 SimonBlake
 Marc  Blake

 and I want the link to be on the field NAME.

 Thanks,
 Serge
 Re: How to open the hiperlinks in the same dialog box of pmapper?[image:
 Click to flag this post]

 by Armin Burger http://old.nabble.com/user/UserProfile.jtp?user=43088
 Nov
 21, 2011; 12:13am :: Rate this Message:
 
 http://old.nabble.com/How-to-open-the-hiperlinks-in-the-same-dialog-box-of-pmapper--td32865640.html#
 
 
 http://old.nabble.com/How-to-open-the-hiperlinks-in-the-same-dialog-box-of-pmapper--td32865640.html#
 
 http://old.nabble.com/How-to-open-the-hiperlinks-in-the-same-dialog-box-of-pmapper--td32865640.html#
 
 http://old.nabble.com/How-to-open-the-hiperlinks-in-the-same-dialog-box-of-pmapper--td32865640.html#
 
 http://old.nabble.com/How-to-open-the-hiperlinks-in-the-same-dialog-box-of-pmapper--td32865640.html#
 
 http://old.nabble.com/How-to-open-the-hiperlinks-in-the-same-dialog-box-of-pmapper--td32865640.html#
 
 
 http://old.nabble.com/How-to-open-the-hiperlinks-in-the-same-dialog-box-of-pmapper--td32865640.html#
 
 -
 Use ratings to moderate (? http://old.nabble.com/help/Answer.jtp?id=16)

 Reply http://old.nabble.com/forum/Reply.jtp?post=32869429 |
 Printhttp://old.nabble.com/forum/PrintPost.jtp?post=32869429| View
 Threaded | Show Only this
 Message
 http://old.nabble.com/Re%3A-How-to-open-the-hiperlinks-in-the-same-dialog-box-of-pmapper--p32869429.html
 
  Salo

 replace the custom.js with the one from here


 http://svn.pmapper.net/trac/export/1234/trunk/pmapper/config/default/custom.js

 and then swap the comments for lines 14/15. If you need some more
 specific you need to modify the code accordingly.

 armin

 On 20/11/2011 17:44, salo wrote:

 
  Thanks Serge,
 
  But really, I want is to show the following funtion (custom.js) as a
  pmapper's dialog box, please help me!
 
 
   // Sample Hyperlink function for result window
   openHyperlink: function(layer, fldName, fldValue) {
   switch(layer) {
   case 'mpios':
   //if (fldName == 'CITY_NAME') {
   window.open('http:/' + '/en.wikipedia.org/wiki/' +
  fldValue, 'wikiquery');
   //}
   break;
 
   default:
   alert ('See function openHyperlink in custom.js: ' +
 layer +
  ' - ' + fldName + ' - ' + fldValue);
   }
   },
 
  ---
 
  Salo
 
  Sypou wrote:
 
  Hi Salo,
 
  To do that, you need to check and know how pmapper deals with the dialog
  box.
 
  You can give it a try by adding the same functions and scripts let's say
  similar to help.
 
  - pm.pmapper.jsinjavascript/src-  add dialog (line 242)
  and
  open dialog (line 360)
  - js_configinconfig/default-  Tool link elements (line
  196)
  - language_eninincphp/locale  -  depending on the language you
 use
  - yourfile.phtml under your main site folder  -  you can refer to the
  help.phtml
 
  Hope it can help.
 
  Serge
 
 
 
  On Fri, Nov 18, 2011 at 5:45 PM, saloe_ramirez_f@...  wrote:
 
 
  Hello everyone,
 
  I want to open a hiperlink in same dialog box that pmapper use to open
  search, help, etc.
 
  Please help me!
 
  Thanks!
 
  Salo.
 
 
  --
  View this message in context:
 

 http://old.nabble.com/How-to-open-the-hiperlinks-in-the-same-dialog-box-of-pmapper--tp32865640p32865640.html
  Sent from the pmapper users mailing list archive at Nabble.com.
 
 
 
 

 --

  All the data continuously generated in your IT infrastructure
  contains a definitive record of customers, application performance,
  security threats, fraudulent activity, and more. Splunk takes this
  data and makes sense of it. IT sense. And common sense.
  

Re: [pmapper-users] busqueda combinada - combined search

2012-04-11 Thread Eduardo Bieñkowski
Por lo que podemos leer en la documentacion existe una busqueda combinada
siempre y cuando se trabaje con Postgis, no si lo queremos hacer con
archivos shapes.
Saludos


As we read in the documentation there is a combined search as long as you work
with PostGIS, not if you want to do with files Shapes
regards.


2012/4/11 Serge Claudio Rafanoharana rafanohar...@gmail.com

 Dear Eduardo,

 Please refer to:

 http://svn.pmapper.net/trac/wiki/DocManualsearch

 I hope it can give you more than what you need.

 Regards,
 Serge


 2012/4/10 Eduardo Bieñkowski eduko...@gmail.com

 In pmapper searches can be combined?
 For example, street number or street corner
 regards


 En pmapper se puede tener búsquedas combinadas?
 Por ejemplo: calle y numero o calle y esquina
 Saludos

 --
 Eduardo


 --
 Better than sec? Nothing is better than sec when it comes to
 monitoring Big Data applications. Try Boundary one-second
 resolution app monitoring today. Free.
 http://p.sf.net/sfu/Boundary-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




 --
 Serge




-- 
Eduardo
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] busqueda combinada - combined search

2012-04-10 Thread Eduardo Bieñkowski
In pmapper searches can be combined?
For example, street number or street corner
regards


En pmapper se puede tener búsquedas combinadas?
Por ejemplo: calle y numero o calle y esquina
Saludos

-- 
Eduardo
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Punto dinámico

2012-03-12 Thread Eduardo Bieñkowski
Existe alguna funcionalidad que permita referenciar un punto de forma
dinámica (tal cual se realiza con los puntos de interes - POI)
Saludos
-- 
Eduardo
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Puntos de Interes

2012-03-12 Thread Eduardo Bieñkowski
  Amigos:
Es posible pasar por parámetros desde un php o aplicación externa a pmapper
para que dibuje un punto de interes (POI)  o un par de coordenadas ?
Y a la inversa?  puedo recuperar las coordenadas en una base de datos desde
un POI ?
Saludos
Eduardo


Google Translate
Friends:
It is possible to pass parameters from a php or pmapper external
application

to draw a point of interest (POI) or a pair if coordinates?
And vice versa? I can retrieve the coordinates in a database from a POI?
Greetings
Eduardo
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Migracion Pmapper

2012-01-12 Thread Eduardo Bieñkowski
Thomas and Nahum:
I solved the cartoline's error but a new set of problems appeared.

[12-Jan-2012 11:19:47] PHP Warning:  require_once(/common.php): failed to
open stream: No such file or directory in
/var/www/pmapper-4.0/incphp/js/js_session.php on line 7
[12-Jan-2012 11:19:47] PHP Fatal error:  require_once(): Failed opening
required '/common.php'
(include_path='.:/usr/share/php:/usr/share/php/www:/home/eduardo/PEAR') in
/var/www/pmapper-4.0/incphp/js/js_session.php on line 7
[12-Jan-2012 11:19:47] PHP Warning:  require_once(/globals.php): failed to
open stream: No such file or directory in
/var/www/pmapper-4.0/config/default/js_config.php on line 5
[12-Jan-2012 11:19:47] PHP Fatal error:  require_once(): Failed opening
required '/globals.php'
(include_path='.:/usr/share/php:/usr/share/php/www:/home/eduardo/PEAR') in
/var/www/pmapper-4.0/config/default/js_config.php on line 5
[12-Jan-2012 11:19:47] PHP Warning:  require_once(/common.php): failed to
open stream: No such file or directory in
/var/www/pmapper-4.0/incphp/js/js_session.php on line 7
[12-Jan-2012 11:19:47] PHP Fatal error:  require_once(): Failed opening
required '/common.php'
(include_path='.:/usr/share/php:/usr/share/php/www:/home/eduardo/PEAR') in
/var/www/pmapper-4.0/incphp/js/js_session.php on line 7
[12-Jan-2012 11:19:47] PHP Warning:  require_once(/globals.php): failed to
open stream: No such file or directory in
/var/www/pmapper-4.0/config/default/js_config.php on line 5
[12-Jan-2012 11:19:47] PHP Fatal error:  require_once(): Failed opening
required '/globals.php'
(include_path='.:/usr/share/php:/usr/share/php/www:/home/eduardo/PEAR') in
/var/www/pmapper-4.0/config/default/js_config.php on line 5

I don't know , I suppose that errors are path configurations included in
php.ini,
I need help in this migration.
Regards
Eduardo




2012/1/11 Thomas RAFFIN traf...@sirap.fr

 You have to read the migration doc (cartoline is deprecated) to use
 MapServer 6.

 Le 11/01/2012 16:28, Eduardo Bieñkowski a écrit :
  Gracias Thomas:
  He hecho lo que me sugeriste y modifique el mapfile ahora, el error
  es  siguiente:
 
  [11-Jan-2012 13:21:42] PHP Warning:  ms_newMapObj(): [MapServer
  Error]: getSymbol(): Parsing error near (cartoline):(line 68)
   in /var/www/pmapper-4.0/incphp/globals.php on line 60
  [11-Jan-2012 13:21:42] PHP Fatal error:  Uncaught exception
  'MapScriptException' with message 'Failed to open map file
  /var/www/pmapper-4.0/config/default/geoasse.map' in
  /var/www/pmapper-4.0/incphp/globals.php:60
 
  Creo que ahora el problema esta en el archivo de simbolos.
 
  Saludos
 
 
 
  Thomas, sorry for my bad English.
  I did what you suggested and change the mapfile now, the error is as
  follows:
 
  [11-Jan-2012 13:21:42] PHP Warning: ms_newMapObj (): [MapServer
  Error]: getSymbol (): Error Parsing near (Cartoline) (line 68)
  in / var/www/pmapper-4.0/incphp/globals.php on line 60
  [11-Jan-2012 13:21:42] PHP Fatal error: Uncaught exception
  'MapScriptException' with message 'Failed to open map file /
  var/www/pmapper-4.0/config/default/geoasse.map' in /
  var/www/pmapper-4.0/incphp/globals.php: 60
 
  I think now the problem is in the symbol file.
 
  regards
 
  Eduardo
 
 
 
 
 
 
  2012/1/11 Thomas RAFFIN traf...@sirap.fr mailto:traf...@sirap.fr
 
  Hi,
 
  I don't speak Spanish, but I think you are using mapfiles that are
 not
  compatible with MapServer 6 (Unknown identifier. Parsing error near
  (BACKGROUNDCOLOR)).
  Doc is here: http://mapserver.org/MIGRATION_GUIDE.html#migration
 
  Concerning your OUTPUTFORMAT you have to take a look on your mapfile
  where the PNG format is defined (maybe you have are using old
  options).
 
  The MapServer maling-list should help you.
 
  Thomas
 
 
  Le 11/01/2012 14:05, Eduardo Bieñkowski a écrit :
   Intenté lo que me dijiste pero me sigue tirando el error.
   Copio aquí:
  
   eduardo@eduardo:~$ shp2img -o mapa.png -m
   /var/www/pmapper-4.0/config/default/geoasse.map
   loadLabel(): Unknown identifier. Parsing error near
  (BACKGROUNDCOLOR):(line
   682)br
   msOutputFormatValidate(): General error message. OUTPUTFORMAT
  png has
   IMAGEMODE RGB/RGBA, which is not supported for GD drivers.br
  
   Saludos
   Eduardo
  
   2012/1/10 Nahum Castronahumcas...@gmail.com
  mailto:nahumcas...@gmail.com
  
   Verifica tu .map con la aplicación de mapserver shp2img
  
   shp2img -o mimapa.png -m /ruta/a/tu/punto.map
  
   El error parece de mapserver.
  
   Saludos.
   Nahum
  
  
   2012/1/10 Eduardo Bieñkowskieduko...@gmail.com
  mailto:eduko...@gmail.com
  
   Estimado Nahum
   Ahora si el php_error.log me envía un mensaje de error.
   Te lo copio aquí:
  
   [10-Jan-2012 09:55:43

Re: [pmapper-users] Migracion Pmapper

2012-01-11 Thread Eduardo Bieñkowski
Intenté lo que me dijiste pero me sigue tirando el error.
Copio aquí:

eduardo@eduardo:~$ shp2img -o mapa.png -m
/var/www/pmapper-4.0/config/default/geoasse.map
loadLabel(): Unknown identifier. Parsing error near (BACKGROUNDCOLOR):(line
682) br
msOutputFormatValidate(): General error message. OUTPUTFORMAT png has
IMAGEMODE RGB/RGBA, which is not supported for GD drivers. br

Saludos
Eduardo

2012/1/10 Nahum Castro nahumcas...@gmail.com

 Verifica tu .map con la aplicación de mapserver shp2img

 shp2img -o mimapa.png -m /ruta/a/tu/punto.map

 El error parece de mapserver.

 Saludos.
 Nahum


 2012/1/10 Eduardo Bieñkowski eduko...@gmail.com

 Estimado Nahum
 Ahora si el php_error.log me envía un mensaje de error.
 Te lo copio aquí:

 [10-Jan-2012 09:55:43] PHP Warning:  session_start():
 open(/var/www/tmp/m/sess_m536j42p75pjemksmbrco0a916, O_RDWR) failed: No
 such file or directory (2) in /var/www/pmapper-4.0/map.phtml on line 29
 [10-Jan-2012 09:55:43] PHP Warning:  ms_newMapObj(): [MapServer Error]:
 loadOutputFormat(): OUTPUTFORMAT clause references driver GD/JPEG, but this
 driver isn't configured.
  in /var/www/pmapper-4.0/incphp/globals.php on line 60
 [10-Jan-2012 09:55:43] PHP Warning:  ms_newMapObj(): [MapServer Error]:
 msOutputFormatValidate(): OUTPUTFORMAT png has IMAGEMODE RGB/RGBA, which is
 not supported for GD drivers.
  in /var/www/pmapper-4.0/incphp/globals.php on line 60
 [10-Jan-2012 09:55:43] PHP Fatal error:  Uncaught exception
 'MapScriptException' with message 'Failed to open map file
 /var/www/pmapper-4.0/config/default/pmapper_demo.map' in
 /var/www/pmapper-4.0/incphp/globals.php:60
 Stack trace:
 #0 /var/www/pmapper-4.0/incphp/globals.php(60):
 ms_newMapObj('/var/www/pmappe...')
 #1 /var/www/pmapper-4.0/map.phtml(37): require_once('/var/www/pmappe...')
 #2 {main}
   thrown in /var/www/pmapper-4.0/incphp/globals.php on line 60
 [10-Jan-2012 09:55:43] PHP Warning:  Unknown:
 open(/var/www/tmp/m/sess_m536j42p75pjemksmbrco0a916, O_RDWR) failed: No
 such file or directory (2) in Unknown on line 0
 [10-Jan-2012 09:55:43] PHP Warning:  Unknown: Failed to write session
 data (files). Please verify that the current setting of session.save_path
 is correct (1;/var/www/tmp) in Unknown on line 0

 En teoría el directorio donde el servidor escribe la session no es el
 correcto pero hasta ahora no me había enviado ningún tipo de error.

 --
 Eduardo




 --
 Nahum Castro González
 Blvd. Perdigón 214, Brisas del Lago.
 CP 37216
 León, Guanajuato, México
 Tel (477)1950304




-- 
Eduardo
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Pmapper Migracion

2012-01-11 Thread Eduardo Bieñkowski
-- Forwarded message --
From: Thomas RAFFIN traf...@sirap.fr
Date: 2012/1/11
Subject: Re: [pmapper-users] Migracion Pmapper
To: pmapper-users@lists.sourceforge.net


Hi,

I don't speak Spanish, but I think you are using mapfiles that are not
compatible with MapServer 6 (Unknown identifier. Parsing error near
(BACKGROUNDCOLOR)).
Doc is here: http://mapserver.org/MIGRATION_GUIDE.html#migration

Concerning your OUTPUTFORMAT you have to take a look on your mapfile
where the PNG format is defined (maybe you have are using old options).

The MapServer maling-list should help you.

Thomas


Le 11/01/2012 14:05, Eduardo Bieñkowski a écrit :
 Intenté lo que me dijiste pero me sigue tirando el error.
 Copio aquí:

 eduardo@eduardo:~$ shp2img -o mapa.png -m
 /var/www/pmapper-4.0/config/default/geoasse.map
 loadLabel(): Unknown identifier. Parsing error near
(BACKGROUNDCOLOR):(line
 682)br
 msOutputFormatValidate(): General error message. OUTPUTFORMAT png has
 IMAGEMODE RGB/RGBA, which is not supported for GD drivers.br

 Saludos
 Eduardo

 2012/1/10 Nahum Castronahumcas...@gmail.com

 Verifica tu .map con la aplicación de mapserver shp2img

 shp2img -o mimapa.png -m /ruta/a/tu/punto.map

 El error parece de mapserver.

 Saludos.
 Nahum


 2012/1/10 Eduardo Bieñkowskieduko...@gmail.com

 Estimado Nahum
 Ahora si el php_error.log me envía un mensaje de error.
 Te lo copio aquí:

 [10-Jan-2012 09:55:43] PHP Warning:  session_start():
 open(/var/www/tmp/m/sess_m536j42p75pjemksmbrco0a916, O_RDWR) failed: No
 such file or directory (2) in /var/www/pmapper-4.0/map.phtml on line 29
 [10-Jan-2012 09:55:43] PHP Warning:  ms_newMapObj(): [MapServer Error]:
 loadOutputFormat(): OUTPUTFORMAT clause references driver GD/JPEG, but
this
 driver isn't configured.
   in /var/www/pmapper-4.0/incphp/globals.php on line 60
 [10-Jan-2012 09:55:43] PHP Warning:  ms_newMapObj(): [MapServer Error]:
 msOutputFormatValidate(): OUTPUTFORMAT png has IMAGEMODE RGB/RGBA,
which is
 not supported for GD drivers.
   in /var/www/pmapper-4.0/incphp/globals.php on line 60
 [10-Jan-2012 09:55:43] PHP Fatal error:  Uncaught exception
 'MapScriptException' with message 'Failed to open map file
 /var/www/pmapper-4.0/config/default/pmapper_demo.map' in
 /var/www/pmapper-4.0/incphp/globals.php:60
 Stack trace:
 #0 /var/www/pmapper-4.0/incphp/globals.php(60):
 ms_newMapObj('/var/www/pmappe...')
 #1 /var/www/pmapper-4.0/map.phtml(37):
require_once('/var/www/pmappe...')
 #2 {main}
thrown in /var/www/pmapper-4.0/incphp/globals.php on line 60
 [10-Jan-2012 09:55:43] PHP Warning:  Unknown:
 open(/var/www/tmp/m/sess_m536j42p75pjemksmbrco0a916, O_RDWR) failed: No
 such file or directory (2) in Unknown on line 0
 [10-Jan-2012 09:55:43] PHP Warning:  Unknown: Failed to write session
 data (files). Please verify that the current setting of
session.save_path
 is correct (1;/var/www/tmp) in Unknown on line 0

 En teoría el directorio donde el servidor escribe la session no es el
 correcto pero hasta ahora no me había enviado ningún tipo de error.

 --
 Eduardo



 --
 Nahum Castro González
 Blvd. Perdigón 214, Brisas del Lago.
 CP 37216
 León, Guanajuato, México
 Tel (477)1950304




--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users



-- 
Eduardo
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] GD Driver

2012-01-10 Thread Eduardo Bieñkowski
No se supone que el soporte para estos formatos esta instalado??

Aqui una copia del php_info

MapServer Version MapServer version 6.0.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG





2012/1/10 Eduardo Bieñkowski eduko...@gmail.com

 Bueno he corregido el tema de la session, un nuevo error me envia el
 php_error

 [10-Jan-2012 10:38:31] PHP Warning:  ms_newMapObj(): [MapServer Error]:
 loadLabel(): Parsing error near (BACKGROUNDCOLOR):(line 674)
  in /var/www/pmapper-4.0/incphp/globals.php on line 60
 [10-Jan-2012 10:38:31] PHP Warning:  ms_newMapObj(): [MapServer Error]:
 msOutputFormatValidate(): OUTPUTFORMAT png has IMAGEMODE RGB/RGBA, which is
 not supported for GD drivers.
  in /var/www/pmapper-4.0/incphp/globals.php on line 60
 [10-Jan-2012 10:38:31] PHP Fatal error:  Uncaught exception
 'MapScriptException' with message 'Failed to open map file
 /var/www/pmapper-4.0/config/default/mapfile.map' in
 /var/www/pmapper-4.0/incphp/globals.php:60
 Stack trace:
 #0 /var/www/pmapper-4.0/incphp/globals.php(60):
 ms_newMapObj('/var/www/pmappe...')
 #1 /var/www/pmapper-4.0/map.phtml(37): require_once('/var/www/pmappe...')
 #2 {main}
   thrown in /var/www/pmapper-4.0/incphp/globals.php on line 60

 En teoría tengo problema con GD Driver
 --
 Eduardo




-- 
Eduardo
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Migracion Pmapper

2012-01-09 Thread Eduardo Bieñkowski
La versión de Pmapper es la 4.0.0 y PHP-Mapscript Revision: 11619 Date:
2011-04-27 11:23:07 -0400 (Wed, 27 Apr 2011)
En el log de Apache no aparece ningún error así como tampoco aparecen
errores en ms_error.log, php_error.log, pm_debug.log.
He mirado los permisos de las carpetas y todo esta tal cual antes de la
migración, asi que no doy con la configuración.
Espero ayuda saludos
Eduardo

Pmapper version is 4.0.0 and PHP-Mapscript Revision: 11619 Date: 27/04/2011
11:23:07 -0400 (Wed, 27 Apr 2011)
In the Apache log no error and no errors appear in ms_error.log,
php_error.log, pm_debug.log.
I looked at the folder permissions and everything is as it before migration,
so I can not find the setting.
I hope to help
Eduardo


2012/1/5 Nahum Castro nahumcas...@gmail.com

 Revisa el log de apache

 Envianos por favor que versión de pmapper tienes y si instalaste o
 actualizaste php_mapscript.

 Saludos.
 Nahum

 2012/1/4 Eduardo Bieñkowski eduko...@gmail.com

 He actualizado a las siguientes herramientas:

 UBUNTU 10.04
 PHP 5.3.2
 APACHE 2.2.14
 MAPSERVER 6.0.1
 PMAPPER-4.0.0

 Ahora no puedo visualizar nada, queda la pantalla en blanco con la palabra
 listo en la barra de estado.
 No se genera ningún tipo de error en ninguno de los logs.
 Estoy totalmente despistado, necesito ayuda en esto, Gracias

 Saludos
 Eduardo

 Escribe texto o la dirección de un sitio web, o bien, traduce un
 documentohttp://translate.google.com/?tr=fhl=es
 .
 Cancelar http://translate.google.com/?tr=thl=es
 traducción del español al inglés
 español
 inglés
 francés
 I upgraded to the following tools:

 Ubuntu 10.04
 PHP 5.3.2
 APACHE 2.2.14
 MapServer 6.0.1
 PMAPPER-4.0.0

 Now I can not see anything, the screen remains blank with the word ready
 in the status bar.
 Not generate any error in any of the logs.
 I'm lost, I need help on this, Thanks

 regards

 --
 Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
 infrastructure or vast IT resources to deliver seamless, secure access to
 virtual desktops. With this all-in-one solution, easily deploy virtual
 desktops for less than the cost of PCs and save 60% on VDI infrastructure
 costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




 --
 Nahum Castro González
 León, Guanajuato, México




-- 
Eduardo
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Migracion Pmapper

2012-01-04 Thread Eduardo Bieñkowski
He actualizado a las siguientes herramientas:

UBUNTU 10.04
PHP 5.3.2
APACHE 2.2.14
MAPSERVER 6.0.1
PMAPPER-4.0.0

Ahora no puedo visualizar nada, queda la pantalla en blanco con la palabra
listo en la barra de estado.
No se genera ningún tipo de error en ninguno de los logs.
Estoy totalmente despistado, necesito ayuda en esto, Gracias

Saludos
Eduardo

Escribe texto o la dirección de un sitio web, o bien, traduce un
documentohttp://translate.google.com/?tr=fhl=es
.
Cancelar http://translate.google.com/?tr=thl=es
traducción del español al inglés
español
inglés
francés
I upgraded to the following tools:

Ubuntu 10.04
PHP 5.3.2
APACHE 2.2.14
MapServer 6.0.1
PMAPPER-4.0.0

Now I can not see anything, the screen remains blank with the word ready
in the status bar.
Not generate any error in any of the logs.
I'm lost, I need help on this, Thanks

regards
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] (no subject)

2011-11-28 Thread Eduardo Bieñkowski
What is the most stable configuration for installing Pmapper in Ubuntu 10.04
?
What versions of mapserver, php and apache are the optimum?

Español

¿Cuál es la configuración mas estable para instalar Pmapper, en Ubuntu
10.04 lts?
¿Qué versiones de mapserver, php y apache son las óptimas?

-- 
Eduardo
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Fwd: POI and coordinates

2011-11-21 Thread Eduardo Bieñkowski
-- Forwarded message --
From: Eduardo Bieñkowski eduko...@gmail.com
Date: 2011/9/16
Subject: POI and coordinates
To: pmapper_mailing_list pmapper-users@lists.sourceforge.net


Amigos:
Es posible pasar por parámetros desde un php o aplicación externa a pmapper
para que dibuje un punto de interes (POI)  o un par de coordenadas ?
Y a la inversa?  puedo recuperar las coordenadas en una base de datos desde
un POI ?
Saludos
Eduardo


Google Translate
Friends:
It is possible to pass parameters from a php or pmapper external
application
to draw a point of interest (POI) or a pair if coordinates?
And vice versa? I can retrieve the coordinates in a database from a POI?
Greetings
Eduardo

-- 
Eduardo



-- 
Eduardo
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Fwd: Problemas para abrir aplicación.

2011-11-21 Thread Eduardo Bieñkowski
-- Forwarded message --
From: Eduardo Bieñkowski eduko...@gmail.com
Date: 2011/11/10
Subject: Re: [pmapper-users] Problemas para abrir aplicación.
To: Albert Bonsoms abons...@gmail.com
Cc: pmapper-users@lists.sourceforge.net


Como les contaba en un mail reportado anteriormente sin respuesta
Problemas al migrar , tengo el mismo problema que Albert.
Me tira lo siguiente

*Warning*: ms_newMapObj()
[function.ms-newmapobjhttp://localhost/pmapper-4.0/function.ms-newmapobj]:
[MapServer Error]: loadLabel(): Parsing error near (BACKGROUNDCOLOR):(line
502) in */var/www/pmapper-4.0/incphp/globals.php* on line *60*

*Warning*: ms_newMapObj()
[function.ms-newmapobjhttp://localhost/pmapper-4.0/function.ms-newmapobj]:
[MapServer Error]: msOutputFormatValidate(): OUTPUTFORMAT png has IMAGEMODE
RGB/RGBA, which is not supported for GD drivers. in *
/var/www/pmapper-4.0/incphp/globals.php* on line *60*

*Fatal error*: Uncaught exception 'MapScriptException' with message 'Failed
to open map file /var/www/pmapper-4.0/config/default/imagenologia.map' in
/var/www/pmapper-4.0/incphp/globals.php:60 Stack trace: #0
/var/www/pmapper-4.0/incphp/globals.php(60):
ms_newMapObj('/var/www/pmappe...') #1 /var/www/pmapper-4.0/map.phtml(37):
require_once('/var/www/pmappe...') #2 {main} thrown in *
/var/www/pmapper-4.0/incphp/globals.php* on line *60*

Igual que Albert necesito ayuda .
Saludos

English translate

As I had previously reported an unanswered mail Problems when migration,
it generates the same problem as Albert.
The error message is:
*Warning*: ms_newMapObj()
[function.ms-newmapobjhttp://localhost/pmapper-4.0/function.ms-newmapobj]:
[MapServer Error]: loadLabel(): Parsing error near (BACKGROUNDCOLOR):(line
502) in */var/www/pmapper-4.0/incphp/globals.php* on line *60*

*Warning*: ms_newMapObj()
[function.ms-newmapobjhttp://localhost/pmapper-4.0/function.ms-newmapobj]:
[MapServer Error]: msOutputFormatValidate(): OUTPUTFORMAT png has IMAGEMODE
RGB/RGBA, which is not supported for GD drivers. in *
/var/www/pmapper-4.0/incphp/globals.php* on line *60*

*Fatal error*: Uncaught exception 'MapScriptException' with message 'Failed
to open map file /var/www/pmapper-4.0/config/default/imagenologia.map' in
/var/www/pmapper-4.0/incphp/globals.php:60 Stack trace: #0
/var/www/pmapper-4.0/incphp/globals.php(60):
ms_newMapObj('/var/www/pmappe...') #1 /var/www/pmapper-4.0/map.phtml(37):
require_once('/var/www/pmappe...') #2 {main} thrown in *
/var/www/pmapper-4.0/incphp/globals.php* on line *60*

Regards
Eduardo






2011/11/10 Albert Bonsoms abons...@gmail.com

 Tengo un proyecto que me funciona perfectamente con pmapper 4.0.0, quiero
 que me funcione con pmapper 4.2.0 y me sale el siguiente error.


 Warning: ms_newMapObj(): [MapServer Error]: loadOutputFormat():
 OUTPUTFORMAT clause references driver GD/JPEG, but this driver isn't
 configured. in C:\ms4w\apps\pmapper\pmapper-4.2.0\incphp\globals.php on
 line 66 Warning: ms_newMapObj(): [MapServer Error]:
 msOutputFormatValidate(): OUTPUTFORMAT png has IMAGEMODE RGB/RGBA, which is
 not supported for GD drivers. in
 C:\ms4w\apps\pmapper\pmapper-4.2.0\incphp\globals.php on line 66 Fatal
 error: Uncaught exception 'MapScriptException' with message 'Failed to open
 map file C:/ms4w/apps/pmapper/pmapper-4.2.0/config/Bisbal/Bisbal.map' in
 C:\ms4w\apps\pmapper\pmapper-4.2.0\incphp\globals.php:66 Stack trace: #0
 C:\ms4w\apps\pmapper\pmapper-4.2.0\incphp\globals.php(66):
 ms_newMapObj('C:/ms4w/apps/pm...') #1
 C:\ms4w\apps\pmapper\pmapper-4.2.0\map_Bisbal.phtml(37):
 require_once('C:\ms4w\apps\pm...') #2 {main} thrown in
 C:\ms4w\apps\pmapper\pmapper-4.2.0\incphp\globals.php on line 66

 Me podeis ayudar, gracias.

 --
 RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




-- 
Eduardo



-- 
Eduardo
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Problemas con migración - Problems with migration

2011-11-08 Thread Eduardo Bieñkowski
I have installed on a virtual machine as follows:
APACHE 2.2.12
MapServer 5.6.5
PHP 5.2.10-2UBUNTU6.10
PMAPPER 4.0

In another PC migrate to:
APACHE 2.2.14
MapServer 5.6.1
PHP 5.3.2-1UBUNTU4.10
PMAPPER 4.0

The point is that the virtual machine is working properly and the new
installation does not display anything and they do not give me any error in
the logs or the pm_debug, or the php.log nor in the ms_error.

Since I have nothing left to go, sometimes randomly and I get an error that
says:
[07-Nov-2011 10:22:37] P. MAPPER debug info
  P.MAPPER-ERROR: Layer / Group''not existing. Check '/ config / config.ini'
file definition for section 'map.defGroups'.

But when I check the config_default.xml no errors exist in the file.
I spent a screenshot to see how I have the framework.

Thank you, greetings.





Tengo instalado en una maquina virtual lo siguiente:
APACHE 2.2.12
MAPSERVER 5.6.5
PHP 5.2.10-2UBUNTU6.10
PMAPPER 4.0

En otra PC migre a:
APACHE 2.2.14
MAPSERVER 5.6.1
PHP 5.3.2-1UBUNTU4.10
PMAPPER 4.0

La cuestión es que en la virtual machine funciona correctamente y en la
nueva instalación no se despliega nada y además no me da ningún error en
los logs ni en el pm_debug, ni en el php.log y tampoco en el ms_error.

Ya no me queda nada por recorrer, en ocasiones y de forma aleatoria me
aparece un error que dice:
[07-Nov-2011 10:22:37] P.MAPPER debug info
 P.MAPPER-ERROR: Layer/Group '' not existing. Check '/config/config.ini'
file definition for section 'map.defGroups'.

Pero cuando reviso el config_default.xml no existen errores en ese archivo.
Les paso un screenshot para que vean como me queda el framework.

Gracias, saludos.

-- 
Eduardo
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Pair of coodinates in 4.0

2011-11-08 Thread Eduardo Bieñkowski
Friends:
It is possible to pass parameters from a php or pmapper external
application
to draw a point of interest (POI) or a pair if coordinates?
And vice versa? I can retrieve the coordinates in a database from a POI?
Best regards

-- 
Eduardo
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Problems when migrating - Probelamas al migrar

2011-11-07 Thread Eduardo Bieñkowski
I have installed on a virtual machine as follows:
APACHE 2.2.12
MapServer 5.6.5
PHP 5.2.10-2UBUNTU6.10
PMAPPER 4.0

In another PC migrate to:
APACHE 2.2.14
MapServer 5.6.1
PHP 5.3.2-1UBUNTU4.10
PMAPPER 4.0

The point is that the virtual machine is working properly and the new
installation does not display anything and they do not give me any error in
the logs or the pm_debug, or the php.log nor in the ms_error.

Since I have nothing left to go, sometimes randomly and I get an error that
says:
[07-Nov-2011 10:22:37] P. MAPPER debug info
  P.MAPPER-ERROR: Layer / Group''not existing. Check '/ config / config.ini'
file definition for section 'map.defGroups'.

But when I check the config_default.xml no errors exist in the file.
I spent a screenshot to see how I have the framework.

Thank you, greetings.





Tengo instalado en una maquina virtual lo siguiente:
APACHE 2.2.12
MAPSERVER 5.6.5
PHP 5.2.10-2UBUNTU6.10
PMAPPER 4.0

En otra PC migre a:
APACHE 2.2.14
MAPSERVER 5.6.1
PHP 5.3.2-1UBUNTU4.10
PMAPPER 4.0

La cuestión es que en la virtual machine funciona correctamente y en la
nueva instalación no se despliega nada y además no me da ningún error en
los logs ni en el pm_debug, ni en el php.log y tampoco en el ms_error.

Ya no me queda nada por recorrer, en ocasiones y de forma aleatoria me
aparece un error que dice:
[07-Nov-2011 10:22:37] P.MAPPER debug info
 P.MAPPER-ERROR: Layer/Group '' not existing. Check '/config/config.ini'
file definition for section 'map.defGroups'.

Pero cuando reviso el config_default.xml no existen errores en ese archivo.
Les paso un screenshot para que vean como me queda el framework.

Gracias, saludos.




-- 
Eduardo
--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Geometrías derivadas - Derived geometries

2011-09-19 Thread Eduardo Bieñkowski
Estimados
Tengo posibilidad de visualizar geometrías derivadas, es decir en un mismo
punto información de más de un objeto?.
Saludos


Google Translate
Dear
I have derived geometries ability to view, ie information in one place more
than one object?.
regards

-- 
Eduardo



-- 
Eduardo
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Geometrías derivadas - Derived geometries

2011-09-16 Thread Eduardo Bieñkowski
Estimados
Tengo posibilidad de visualizar geometrías derivadas, es decir en un mismo
punto información de más de un objeto?.
Saludos


Google Translate
Dear
I have derived geometries ability to view, ie information in one place more
than one object?.
regards

-- 
Eduardo
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] POI and coordinates

2011-09-16 Thread Eduardo Bieñkowski
Amigos:
Es posible pasar por parámetros desde un php o aplicación externa a pmapper
para que dibuje un punto de interes (POI)  o un par de coordenadas ?
Y a la inversa?  puedo recuperar las coordenadas en una base de datos desde
un POI ?
Saludos
Eduardo


Google Translate
Friends:
It is possible to pass parameters from a php or pmapper external application

to draw a point of interest (POI) or a pair if coordinates?
And vice versa? I can retrieve the coordinates in a database from a POI?
Greetings
Eduardo

-- 
Eduardo
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] coordenadas

2011-09-13 Thread Eduardo Bieñkowski
Estimados:

Puedo pasar a pmapper un par de coordenadas como argumento y que me pinte un
punto en el mapa?
Saludos


-- 
Eduardo
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Fwd: Constulta

2011-09-06 Thread Eduardo Bieñkowski
Estimado Richard:
El resto de los plugin funcionan perfecto, se generan los temporales que
permiten hacerse de la información, a menos del formato XLS y del SHP. El de
SHP no me preocupa porque leí en la lista que solo funciona con capas shp y
las que nosotros generamos son POSTGIS.
En cuanto al XLS, instalamos y seteamos tal cual lo recomiendan ustedes y no
funciona.
Aqui les mando el LOG a ver si ustedes me pueden ayudar.

PHP.LOG 
[06-Sep-2011 09:37:02] PHP Warning:
require_once(Spreadsheet/Excel/Writer.php) [a
href='function.require-once'function.require-once/a]: failed to open
stream: No such file or directory in
/var/www/pmapper-4.0/plugins/export/export.xls.php on line 44
[06-Sep-2011 09:37:02] PHP Fatal error:  require_once() [a
href='function.require'function.require/a]: Failed opening required
'Spreadsheet/Excel/Writer.php'
(include_path='.:/usr/share/php:/usr/share/pear') in
/var/www/pmapper-4.0/plugins/export/export.xls.php on line 44
[06-Sep-2011 09:37:06] PHP Fatal error:  Object expected as argument. in
/var/www/pmapper-4.0/plugins/export/export.shp.php on line 96
*

Saludos
Eduardo

El 5 de septiembre de 2011 09:58, Richard Camejo
richard.cam...@imm.gub.uyescribió:

 Eduardo, según le consultara a Victoria sobre el plugin exportar en excel
 para Pmapper, según los pasos que usted realizara debería funcionar.

 En archivo config/config_default.xml en la sección pmapper debe existir
 un tag plugin con la sintaxis export

- pluginsexport/plugins

 Luego en la sección pluginsConfig debe existir un tag con la configuración
 para exportar XLS.

- export
formatsXLS/formats
/export

 Pmapper crear este archivo en el directorio de imagenes temporales del
 archivo .map, la configuración de Apache debe permitir descargar archivos de
 este directorio

 Ej:
 Directory /www/pmapper
 Options Indexes MultiViews
 AllowOverride None
 Order allow,deny
 Allow from all
 /Directory

 A la órdenes por cualquier consulta, saluda atte...



 Richard Camejo
 Servicio de Geomática
 Intendencia de Montevideo
 http://sig.montevideo.gub.uy/
 Tel: 1950 1752

 -- Forwarded message --
 From: Eduardo Bieñkowski  eduko...@gmail.com 
 Date: 2011/9/1
 Subject: Re: Constulta
 To: Victoria Alvarez  vickyalva...@gmail.com 


 Estimada:
 Instale los dos paquetes OLE y Spreadsheet

 Te paso la consola:
 root@eduardo:/usr/lib/php5# pear install -f Spreadsheet_Excel_Writer-0.9.2
 downloading Spreadsheet_Excel_Writer-0.9.2.tgz ...
 Starting to download Spreadsheet_Excel_Writer-0.9.2.tgz (57,629 bytes)
 ..done: 57,629 bytes
 install ok: channel:// pear.php.net/Spreadsheet_Excel_Writer-0.9.2

 root@eduardo:/usr/lib/php5# pear install -f OLE
 downloading OLE-1.0.0RC1.tgz ...
 Starting to download OLE-1.0.0RC1.tgz (12,153 bytes)
 .done: 12,153 bytes
 install ok: channel:// pear.php.net/OLE-1.0.0RC1

 y luego realicé lo de ODS, esto último genera el ODS perfectamente pero la
 generación de XLS no funciona.

 Saludos y gracias
 Eduardo









-- 
Eduardo
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Export to shapefile

2011-09-01 Thread Eduardo Bieñkowski
I repeat:
I installed the Spreadsheet and not working excel file generation and
I did what
Peter told me to do..
I need to install or configure something in particular?

regards


2011/8/23 Eduardo Bieñkowski eduko...@gmail.com

 I installed the Spreadsheet and not working excel file generation.

 Eduardo



 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com

 Sorry Eduardo, I forgot to put the channel. Try this

 sudo pear install Spreadsheet_Excel_Writer channel://
 pear.php.net/Spreadsheet_Excel_Writer-0.9.2


 Pedro



 
 From: Eduardo Bieñkowski


 Pedro:
 I can't install Spreadsheet_Excel_Writer,

 eduardo@eduardo:~$ pear install Spreadsheet_Excel_Writer-0.9.2
 No releases available for package pear.php.net/Spreadsheet_Excel_Writer
 install failed

 I listed the channels
 eduardo@eduardo:~$ pear list-channels
 Registered Channels:
 
 Channel  Alias   Summary
 doc.php.net  phpdocs PHP Documentation Team
 pear.php.net pearPHP Extension and Application
  Repository
 pecl.php.net peclPHP Extension Community Library

 What is wrong?



 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com

 Hello Eduardo,
 
 I imagine you've restarted Apache, right?
 
 I do not know, I was able to get the function to work on two machines
 (Ubuntu and Debian), and the only thing I did beyond what I described was
 also put support for Export to XLS:
 
 $ sudo pear install OLE channel://pear.php.net/OLE-1.0.0RC1
 
 $ sudo pear install Spreadsheet_Excel_Writer
 
 
 and then
 
 $ sudo /etc/init.d/apache2 restart
 
 Try installing these packages more.
 
 Best regards,
 Pedro Venâncio
 
 
 
 
 From: Eduardo Bieñkowski
 
 
 
 Estimados:
 Yo instalé tal cual lo dijo Pedro y sigo sin poder exportar a SHP,
 entiendo que las capas de Postgis no se puedan pasar pero debería ser una
 limitante?
 Saludos
 EB
 
 friends:
 I installed as is Pedro said, PECL extensions, and still can not export
 to SHP,.
 I understand that the layers of Postgis not be passed but,  it should be
 a limitation?
 regards
 EB
 
 
 
 
 
 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com
 
 Hello Francisco and Armin,
 
 I have an application running on Ubuntu (pMapper Mapserver 5.6 and 4.0)
 with the Export to SHP working.
 
 I added the dbase extension via PECL repository, running the command:
 $ sudo pecl install dbase channel://pecl.php.net/dbase-5.0.1
 
 After, I added the path on the file /../php5/apache2/php.ini
 
 ;;
 ; Dynamic Extensions ;
 ;;
 
 extension=/usr/lib/php5/20090626+lfs/php_mapscript.so
 extension=/usr/lib/php5/20090626+lfs/dbase.so
 
 
 And on the file /../../config_default.xml
 
 pluginsConfig
 export
 formatsCSV/formats
 formatsPDF/formats
 formatsSHP/formats
 /export
 
 
 Works, however it only works for files already in SHP as a data source
 (does not work for PostGIS data). I do not know if this is an imposition of
 the plugin.
 
 On the other hand, I have a strange behavior... If I select some
 features, eg from a road network layer, and export to shp, it works fine.
 Then, if I refresh the map and select another features from a different
 layer, are exported the features of this new layer and the former (road
 network selection). Why is this happening?
 
 Best regards,
 Pedro Venâncio
 
 
 
 
 
 
 - Original Message -
 From: Armin Burger
 
 you need to check the PHP error log (could be an error of deletion of
 the tmp dir with the shape), and Javascript errors in a JS console or in
 Firebug. The FAQ's contain a debugging how-to.
 
 armin
 
 On 22/08/2011 16:25, Francisco Caldeira wrote:
  Hi,
 
  As anyone tested the export to shapefile option on Linux with success?
  Works fine for me in Windows, but in Linux CentOS the button Download
 is
  never visible, although the zip file with the shapefile is created on
 the
  webserver…
 
  Regards
  Francisco
 
  Francisco Caldeira
  Serviço de GeoInformação
  I.N.E. - Instituto Nacional de Estatística
  Avenida António José de Almeida
  1078 Lisboa Codex
  Portugal
  francisco.calde...@ine.pt
  (351) - 21 8426100
  Ext. 1438
 
 
 
 
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 

 --
 uberSVN's rich system and user administration capabilities and model
 configuration take the hassle out of deploying and managing Subversion
 and
 the tools developers use with it. Learn more about uberSVN and get a
 free
 download at:  http://p.sf.net/sfu/wandisco-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

Re: [pmapper-users] Export to shapefile

2011-08-23 Thread Eduardo Bieñkowski
Estimados:
Yo instalé tal cual lo dijo Pedro y sigo sin poder exportar a SHP, entiendo
que las capas de Postgis no se puedan pasar pero debería ser una limitante?
Saludos
EB

friends:
I installed as is Pedro said, PECL extensions, and still can not export to
SHP,.
I understand that the layers of Postgis not be passed but,  it should be a
limitation?
regards
EB




2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com

 Hello Francisco and Armin,

 I have an application running on Ubuntu (pMapper Mapserver 5.6 and 4.0)
 with the Export to SHP working.

 I added the dbase extension via PECL repository, running the command:
 $ sudo pecl install dbase channel://pecl.php.net/dbase-5.0.1

 After, I added the path on the file /../php5/apache2/php.ini

 ;;
 ; Dynamic Extensions ;
 ;;

 extension=/usr/lib/php5/20090626+lfs/php_mapscript.so
 extension=/usr/lib/php5/20090626+lfs/dbase.so


 And on the file /../../config_default.xml

 pluginsConfig
 export
 formatsCSV/formats
 formatsPDF/formats
 formatsSHP/formats
 /export


 Works, however it only works for files already in SHP as a data source
 (does not work for PostGIS data). I do not know if this is an imposition of
 the plugin.

 On the other hand, I have a strange behavior... If I select some features,
 eg from a road network layer, and export to shp, it works fine. Then, if I
 refresh the map and select another features from a different layer, are
 exported the features of this new layer and the former (road network
 selection). Why is this happening?

 Best regards,
 Pedro Venâncio





 - Original Message -
 From: Armin Burger

 you need to check the PHP error log (could be an error of deletion of
 the tmp dir with the shape), and Javascript errors in a JS console or in
 Firebug. The FAQ's contain a debugging how-to.

 armin

 On 22/08/2011 16:25, Francisco Caldeira wrote:
  Hi,
 
  As anyone tested the export to shapefile option on Linux with success?
  Works fine for me in Windows, but in Linux CentOS the button Download is
  never visible, although the zip file with the shapefile is created on the
  webserver…
 
  Regards
  Francisco
 
  Francisco Caldeira
  Serviço de GeoInformação
  I.N.E. - Instituto Nacional de Estatística
  Avenida António José de Almeida
  1078 Lisboa Codex
  Portugal
  francisco.calde...@ine.pt
  (351) - 21 8426100
  Ext. 1438
 
 
 
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users


 --
 uberSVN's rich system and user administration capabilities and model
 configuration take the hassle out of deploying and managing Subversion and
 the tools developers use with it. Learn more about uberSVN and get a free
 download at:  http://p.sf.net/sfu/wandisco-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users



 --
 Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
 user administration capabilities and model configuration. Take
 the hassle out of deploying and managing Subversion and the
 tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




-- 
Eduardo
--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Export to shapefile

2011-08-23 Thread Eduardo Bieñkowski
Pedro:
I can't install Spreadsheet_Excel_Writer,

eduardo@eduardo:~$ pear install Spreadsheet_Excel_Writer-0.9.2
No releases available for package pear.php.net/Spreadsheet_Excel_Writer
install failed

I listed the channels
eduardo@eduardo:~$ pear list-channels
Registered Channels:

Channel  Alias   Summary
doc.php.net  phpdocs PHP Documentation Team
pear.php.net pearPHP Extension and Application
 Repository
pecl.php.net peclPHP Extension Community Library

What is wrong?


2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com

 Hello Eduardo,

 I imagine you've restarted Apache, right?

 I do not know, I was able to get the function to work on two machines
 (Ubuntu and Debian), and the only thing I did beyond what I described was
 also put support for Export to XLS:

 $ sudo pear install OLE channel://pear.php.net/OLE-1.0.0RC1

 $ sudo pear install Spreadsheet_Excel_Writer


 and then

 $ sudo /etc/init.d/apache2 restart

 Try installing these packages more.

 Best regards,
 Pedro Venâncio



 
 From: Eduardo Bieñkowski


 Estimados:
 Yo instalé tal cual lo dijo Pedro y sigo sin poder exportar a SHP, entiendo
 que las capas de Postgis no se puedan pasar pero debería ser una limitante?
 Saludos
 EB

 friends:
 I installed as is Pedro said, PECL extensions, and still can not export to
 SHP,.
 I understand that the layers of Postgis not be passed but,  it should be a
 limitation?
 regards
 EB





 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com

 Hello Francisco and Armin,
 
 I have an application running on Ubuntu (pMapper Mapserver 5.6 and 4.0)
 with the Export to SHP working.
 
 I added the dbase extension via PECL repository, running the command:
 $ sudo pecl install dbase channel://pecl.php.net/dbase-5.0.1
 
 After, I added the path on the file /../php5/apache2/php.ini
 
 ;;
 ; Dynamic Extensions ;
 ;;
 
 extension=/usr/lib/php5/20090626+lfs/php_mapscript.so
 extension=/usr/lib/php5/20090626+lfs/dbase.so
 
 
 And on the file /../../config_default.xml
 
 pluginsConfig
 export
 formatsCSV/formats
 formatsPDF/formats
 formatsSHP/formats
 /export
 
 
 Works, however it only works for files already in SHP as a data source
 (does not work for PostGIS data). I do not know if this is an imposition of
 the plugin.
 
 On the other hand, I have a strange behavior... If I select some features,
 eg from a road network layer, and export to shp, it works fine. Then, if I
 refresh the map and select another features from a different layer, are
 exported the features of this new layer and the former (road network
 selection). Why is this happening?
 
 Best regards,
 Pedro Venâncio
 
 
 
 
 
 
 - Original Message -
 From: Armin Burger
 
 you need to check the PHP error log (could be an error of deletion of
 the tmp dir with the shape), and Javascript errors in a JS console or in
 Firebug. The FAQ's contain a debugging how-to.
 
 armin
 
 On 22/08/2011 16:25, Francisco Caldeira wrote:
  Hi,
 
  As anyone tested the export to shapefile option on Linux with success?
  Works fine for me in Windows, but in Linux CentOS the button Download is
  never visible, although the zip file with the shapefile is created on
 the
  webserver…
 
  Regards
  Francisco
 
  Francisco Caldeira
  Serviço de GeoInformação
  I.N.E. - Instituto Nacional de Estatística
  Avenida António José de Almeida
  1078 Lisboa Codex
  Portugal
  francisco.calde...@ine.pt
  (351) - 21 8426100
  Ext. 1438
 
 
 
 
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 

 --
 uberSVN's rich system and user administration capabilities and model
 configuration take the hassle out of deploying and managing Subversion and
 the tools developers use with it. Learn more about uberSVN and get a free
 download at:  http://p.sf.net/sfu/wandisco-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 

 --
 Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
 user administration capabilities and model configuration. Take
 
 the hassle out of deploying and managing Subversion and the
 tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
 
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users
 


 --
 Eduardo




-- 
Eduardo
--
Get a FREE DOWNLOAD

Re: [pmapper-users] Export to shapefile

2011-08-23 Thread Eduardo Bieñkowski
I installed the Spreadsheet and not working excel file generation.

Eduardo


2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com

 Sorry Eduardo, I forgot to put the channel. Try this

 sudo pear install Spreadsheet_Excel_Writer channel://
 pear.php.net/Spreadsheet_Excel_Writer-0.9.2


 Pedro



 
 From: Eduardo Bieñkowski


 Pedro:
 I can't install Spreadsheet_Excel_Writer,

 eduardo@eduardo:~$ pear install Spreadsheet_Excel_Writer-0.9.2
 No releases available for package pear.php.net/Spreadsheet_Excel_Writer
 install failed

 I listed the channels
 eduardo@eduardo:~$ pear list-channels
 Registered Channels:
 
 Channel  Alias   Summary
 doc.php.net  phpdocs PHP Documentation Team
 pear.php.net pearPHP Extension and Application
  Repository
 pecl.php.net peclPHP Extension Community Library

 What is wrong?



 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com

 Hello Eduardo,
 
 I imagine you've restarted Apache, right?
 
 I do not know, I was able to get the function to work on two machines
 (Ubuntu and Debian), and the only thing I did beyond what I described was
 also put support for Export to XLS:
 
 $ sudo pear install OLE channel://pear.php.net/OLE-1.0.0RC1
 
 $ sudo pear install Spreadsheet_Excel_Writer
 
 
 and then
 
 $ sudo /etc/init.d/apache2 restart
 
 Try installing these packages more.
 
 Best regards,
 Pedro Venâncio
 
 
 
 
 From: Eduardo Bieñkowski
 
 
 
 Estimados:
 Yo instalé tal cual lo dijo Pedro y sigo sin poder exportar a SHP,
 entiendo que las capas de Postgis no se puedan pasar pero debería ser una
 limitante?
 Saludos
 EB
 
 friends:
 I installed as is Pedro said, PECL extensions, and still can not export to
 SHP,.
 I understand that the layers of Postgis not be passed but,  it should be a
 limitation?
 regards
 EB
 
 
 
 
 
 2011/8/23 Pedro Venâncio pedrongvenan...@yahoo.com
 
 Hello Francisco and Armin,
 
 I have an application running on Ubuntu (pMapper Mapserver 5.6 and 4.0)
 with the Export to SHP working.
 
 I added the dbase extension via PECL repository, running the command:
 $ sudo pecl install dbase channel://pecl.php.net/dbase-5.0.1
 
 After, I added the path on the file /../php5/apache2/php.ini
 
 ;;
 ; Dynamic Extensions ;
 ;;
 
 extension=/usr/lib/php5/20090626+lfs/php_mapscript.so
 extension=/usr/lib/php5/20090626+lfs/dbase.so
 
 
 And on the file /../../config_default.xml
 
 pluginsConfig
 export
 formatsCSV/formats
 formatsPDF/formats
 formatsSHP/formats
 /export
 
 
 Works, however it only works for files already in SHP as a data source
 (does not work for PostGIS data). I do not know if this is an imposition of
 the plugin.
 
 On the other hand, I have a strange behavior... If I select some
 features, eg from a road network layer, and export to shp, it works fine.
 Then, if I refresh the map and select another features from a different
 layer, are exported the features of this new layer and the former (road
 network selection). Why is this happening?
 
 Best regards,
 Pedro Venâncio
 
 
 
 
 
 
 - Original Message -
 From: Armin Burger
 
 you need to check the PHP error log (could be an error of deletion of
 the tmp dir with the shape), and Javascript errors in a JS console or in
 Firebug. The FAQ's contain a debugging how-to.
 
 armin
 
 On 22/08/2011 16:25, Francisco Caldeira wrote:
  Hi,
 
  As anyone tested the export to shapefile option on Linux with success?
  Works fine for me in Windows, but in Linux CentOS the button Download
 is
  never visible, although the zip file with the shapefile is created on
 the
  webserver…
 
  Regards
  Francisco
 
  Francisco Caldeira
  Serviço de GeoInformação
  I.N.E. - Instituto Nacional de Estatística
  Avenida António José de Almeida
  1078 Lisboa Codex
  Portugal
  francisco.calde...@ine.pt
  (351) - 21 8426100
  Ext. 1438
 
 
 
 
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 

 --
 uberSVN's rich system and user administration capabilities and model
 configuration take the hassle out of deploying and managing Subversion
 and
 the tools developers use with it. Learn more about uberSVN and get a free
 download at:  http://p.sf.net/sfu/wandisco-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 

 --
 Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
 user administration capabilities and model configuration. Take
 
 the hassle out of deploying

Re: [pmapper-users] SQL pmapper

2011-07-29 Thread Eduardo Bieñkowski
Lo hice como me enviaste.

DATA 'the_geom FROM (select * from pais_hospitales WHERE nombre =
HOSPITAL ARTIGAS) as hospital USING UNIQUE gid USING srid=32721'

y no funciona me envia esto

[29-Jul-2011 15:10:25] PHP Warning:  [MapServer Error]:
msPostGISLayerWhichShapes(): Error (ERROR:  no existe la columna «HOSPITAL
ARTIGAS»
LINE 1: ...lect * from pais_equipoimagen_pt WHERE nombre = HOSPITAL ...

Lo hago con comillas simples, tampoco funciona me pone esto

DATA 'the_geom FROM (select * from pais_hospitales WHERE nombre =
'HOSPITAL ARTIGAS') as hospital USING UNIQUE gid USING srid=32721'


[29-Jul-2011 15:12:45] PHP Warning:  [MapServer Error]: loadLayer(): Parsing
error near (HOSPITAL):(line 483)
 in /var/www/pmapper-4.0/incphp/globals.php on line 60

Controlo con psql que funcione y funciona (con comillas simples)

geodb= select * from pais_hospitales where nombre='HOSPITAL ARTIGAS';

 gid | depto | seccion | localidad |  nombre  | ue |
calle   | n_mero | esquina  | telefono | xcoord | ycoord  |
metropo | nom_dep | nom_loc | a_p | b_p | c_p | d_p | e_p | a_a | b_a | c_a
| d_a | e_a | a_t | b_t | c_t | d_t | e_t | a_c | b_c | c_c | d_c | e_c |
a_m | d_m | a_tom | b_tom | c_tom | d_tom | e_tom | a_reso | b_reso | c_reso
| d_reso | e_reso | a_d |  the_geom
-+---+-+---+--++---++--+--++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+---+---+---+---+---++++++-+
  40 | 2 |   1 |   220 | HOSPITAL ARTIGAS | 15 | EDUARDO M.
CASTRO |  0 | FRUCTUOSO RIVERA | 47723701 | 551974 | 6636455 |   0 |
ARTIGAS | Artigas |   0 |   1 |   1 |   0 |   0 |   0 |   0 |   1 |   0 |
0 |   0 |   1 |   0 |   0 |   0 |   1 |   0 |   0 |   0 |   0 |   0 |   0
| 0 | 0 | 0 | 1 | 0 |  0 |  0 |  0 |  0
|  0 |   1 | 010120D17F4CD8204100C0E9505941
(1 fila)

(END)

Supongo que debe ser algún caracter de control que no se cual es.
Escucho sugerencias
Saludos

















DATA 'the_geom FROM (select * from pais_hospitales WHERE nombre ='
HOSPITAL ARTIGAS') as hospital USING UNIQUE gid USING srid=32721'





2011/7/29 Victoria Alvarez vickyalva...@gmail.com


 La consulta en el .map debería ser algo así:

 DATA 'the_geom FROM (select * from pais_hospitales WHERE nombre =
 Hospital Artigas) as hospital USING UNIQUE gid USING srid=32721'

 En el que copiaste falta el primer from

 2011/7/29 Eduardo Bieñkowski eduko...@gmail.com

 En la base funciona, supongo que debe ser algún caracter de control, no lo
 sé, porque si lo pruebo con campos númericos funciona

 DATA 'the_geom from (SELECT * FROM pais_hospitales WHERE ue= 15) AS
 subquery USING UNIQUE gid USING srid=32721'

 Esto funciona.
 Saludos



 2011/7/29 Victoria Alvarez vickyalva...@gmail.com

 Hola,
 ¿La consulta directo en la BD funciona? Eso sería lo primero a probar,
 para ver si es un tema de la sentencia SQL o de sintaxis en el .map
 No sé como están los datos en la tabla, pero que que los seleccione el =
 deben coincidir exactamente con lo que escribís. Sino deberías utilizar LIKE
 y manejarte con %.
 Saludos,
 Vitcoria


 2011/7/29 Eduardo Bieñkowski eduko...@gmail.com

 Estimada
 Probe de estas dos maneras el poder ver solo un punto del conjunto de
 hospitales

 DATA 'the_geom (select * FROM pais_hospitales WHERE nombre = Hospital
 Artigas) as subquery USING UNIQUE gid USING srid=32721'
 DATA 'the_geom FROM pais_hospitales WHERE nombre = Hospital Artigas
 USING UNIQUE gid USING srid=32721'

 Que estoy haciendo mal que no logro ver nada??


 --
 Eduardo





 --
 Eduardo





-- 
Eduardo
--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] button Identify

2011-07-01 Thread Eduardo Bieñkowski
Se puede agregar el botón de información de la capa en la barra de legend
para no tener que darle al botón derecho sobre al leyenda
Si es asi que archivo hay que modificar?
Saludos

Eduardo


Google Translation:
You can add the button layer information in the bar legend
to avoid giving the right mouse button on the legend??
If so which file should be modified?, regards
Eduardo
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] SQL en mapfile

2011-05-26 Thread Eduardo Bieñkowski
Rolando:
Justamente de esa manera es que lo resolvi, pero me sigue figurando un error
de parseo xml y que no se como resolver.
A pesar de que me muestra las capas no me resuelve este error.

[25-May-2011 15:27:54] PHP Warning:  DOMDocument::schemaValidate() [a
href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
'pmapper': No matching global declaration available for the validation root.
in /var/www/pmapper-4.0/incphp/query/search.php on line 69
[25-May-2011 15:27:54] Validation of search.xml file FAILED:
br /
bWarning/b:  DOMDocument::schemaValidate() [a
href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
'pmapper': No matching global declaration available for the validation root.
in b/var/www/pmapper-4.0/incphp/query/search.php/b on line b69/bbr
/





El 26 de mayo de 2011 07:25, pelin pelin...@gmail.com escribió:

 Estimados, como estan.
 les muestro como tengo una consulta que me funciona utilizando el
 equivalente al like
  DATA the_geom FROM unnehtales using unique gid using SRID=-1
  FILTER departamen='LIBERTADOR GENERAL SAN MARTIN'



 Atentamente

 Rolando Sergio Rodriguez
 DIT Direccion de Informacion Territorial - SPER
 Provincia del Chaco Marcelo T. de Alvear 145 - 9no Piso de Casa de Gobierno

 Tel: 03722-456426 (Directo)
  03722-448000 int. 2268
 Cel: 03722-15-814858 (red win)
 BB Messenger: 22F397A7
 http://etisig.chaco.gov.ar
 http://etisig.siup.gov.ar





-- 
Edu
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] SQL en mapfile

2011-05-26 Thread Eduardo Bieñkowski
La consulta esta en el mapfile y en el SEARCH.XML lo tengo vacio.
Así que no se donde esta el problema
Saludos


2011/5/26 pelin pelin...@gmail.com

 la consulta que escribis esta en el archivo search.xml o en el .map. si
 esta en el .map el problema que tnes reside en el search.xml

 2011/5/26 Eduardo Bieñkowski eduko...@gmail.com

 Rolando:
 Justamente de esa manera es que lo resolvi, pero me sigue figurando un
 error
 de parseo xml y que no se como resolver.
 A pesar de que me muestra las capas no me resuelve este error.

 [25-May-2011 15:27:54] PHP Warning:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
 'pmapper': No matching global declaration available for the validation
 root.
 in /var/www/pmapper-4.0/incphp/query/search.php on line 69
 [25-May-2011 15:27:54] Validation of search.xml file FAILED:
 br /
 bWarning/b:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
 'pmapper': No matching global declaration available for the validation
 root.
 in b/var/www/pmapper-4.0/incphp/query/search.php/b on line
 b69/bbr
 /





 El 26 de mayo de 2011 07:25, pelin pelin...@gmail.com escribió:

  Estimados, como estan.
  les muestro como tengo una consulta que me funciona utilizando el
  equivalente al like
   DATA the_geom FROM unnehtales using unique gid using SRID=-1
   FILTER departamen='LIBERTADOR GENERAL SAN MARTIN'
 
 
 
  Atentamente
 
  Rolando Sergio Rodriguez
  DIT Direccion de Informacion Territorial - SPER
  Provincia del Chaco Marcelo T. de Alvear 145 - 9no Piso de Casa de
 Gobierno
 
  Tel: 03722-456426 (Directo)
   03722-448000 int. 2268
  Cel: 03722-15-814858 (red win)
  BB Messenger: 22F397A7
  http://etisig.chaco.gov.ar
  http://etisig.siup.gov.ar
 
 
 


 --
 Edu


 --
 vRanger cuts backup time in half-while increasing security.
 With the market-leading solution for virtual backup and recovery,
 you get blazing-fast, flexible, and affordable data protection.
 Download your free trial now.
 http://p.sf.net/sfu/quest-d2dcopy1
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




 --
 
 http://blogs.hydras.com.ar/srodriguez/
 
  Atentamente
  Rolando Sergio Rodriguez




-- 
Edu
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] SQL en mapfile

2011-05-26 Thread Eduardo Bieñkowski
Estimado:
el default_config.xml ya esta asi, asi que por ese lado creo que no es el
drama.
Saludos


2011/5/26 pelin pelin...@gmail.com

 proba en el default_config.xml
 en pm_search_configfile dejala asi:
 pm_search_configfileinline/pm_search_configfile
 de manera que la busqueda  se configure abajo, en el mismo archivo ya que
 es posible que en esa linea estes apuntando al archivo search.xml.


 2011/5/26 Eduardo Bieñkowski eduko...@gmail.com

 La consulta esta en el mapfile y en el SEARCH.XML lo tengo vacio.
 Así que no se donde esta el problema
 Saludos



 2011/5/26 pelin pelin...@gmail.com

 la consulta que escribis esta en el archivo search.xml o en el .map. si
 esta en el .map el problema que tnes reside en el search.xml

 2011/5/26 Eduardo Bieñkowski eduko...@gmail.com

 Rolando:
 Justamente de esa manera es que lo resolvi, pero me sigue figurando un
 error
 de parseo xml y que no se como resolver.
 A pesar de que me muestra las capas no me resuelve este error.

 [25-May-2011 15:27:54] PHP Warning:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]:
 Element
 'pmapper': No matching global declaration available for the validation
 root.
 in /var/www/pmapper-4.0/incphp/query/search.php on line 69
 [25-May-2011 15:27:54] Validation of search.xml file FAILED:
 br /
 bWarning/b:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]:
 Element
 'pmapper': No matching global declaration available for the validation
 root.
 in b/var/www/pmapper-4.0/incphp/query/search.php/b on line
 b69/bbr
 /





 El 26 de mayo de 2011 07:25, pelin pelin...@gmail.com escribió:

  Estimados, como estan.
  les muestro como tengo una consulta que me funciona utilizando el
  equivalente al like
   DATA the_geom FROM unnehtales using unique gid using SRID=-1
   FILTER departamen='LIBERTADOR GENERAL SAN MARTIN'
 
 
 
  Atentamente
 
  Rolando Sergio Rodriguez
  DIT Direccion de Informacion Territorial - SPER
  Provincia del Chaco Marcelo T. de Alvear 145 - 9no Piso de Casa de
 Gobierno
 
  Tel: 03722-456426 (Directo)
   03722-448000 int. 2268
  Cel: 03722-15-814858 (red win)
  BB Messenger: 22F397A7
  http://etisig.chaco.gov.ar
  http://etisig.siup.gov.ar
 
 
 


 --
 Edu


 --
 vRanger cuts backup time in half-while increasing security.
 With the market-leading solution for virtual backup and recovery,
 you get blazing-fast, flexible, and affordable data protection.
 Download your free trial now.
 http://p.sf.net/sfu/quest-d2dcopy1
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




 --
 
 http://blogs.hydras.com.ar/srodriguez/
 
  Atentamente
  Rolando Sergio Rodriguez




 --
 Edu




 --
 
 http://blogs.hydras.com.ar/srodriguez/
 
  Atentamente
  Rolando Sergio Rodriguez




-- 
Edu
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] SQL en mapfile

2011-05-25 Thread Eduardo Bieñkowski
Ya probé con lo que sugirió Francisco y me largo el error de parseo
siguiente:

*Warning*: [MapServer Error]: loadLayer(): Parsing error near
(Terciaria):(line 343) in */var/www/pmapper-4.0/incphp/globals.php* on line
*60*
Además de que no aparece la interrfaz gráfica.

Lo que hice fue ponerle comillas a DESCRIPTOR y sacarle las comillas simples
a Terciaria.
De esta manera abre la interfaz gráfica pero no se visualiza el mapa, al
leer el php_error.log me sale este mensaje

[25-May-2011 11:06:35] PHP Warning:  [MapServer Error]: msDrawMap(): Failed
to draw layer named 'zonas_salud'.
 in /var/www/pmapper-4.0/incphp/map/map.php on line 326
[25-May-2011 11:06:35] PHP Warning:  [MapServer Error]:
msPostGISLayerWhichShapes(): Error (ERROR:  error de sintaxis en o cerca de
«Terciaria»
LINE 1: ... FROM zonas_salud WHERE DESCRIPTOR=Terciaria)...
 ^
) executing query: select
NOMBRE,encode(AsBinary(force_collection(force_2d(the_geom)),'NDR'),'hex')
as geom,gid from (SELECT * FROM zonas_salud WHERE DESCRIPTOR=Terciaria)
AS subquery where the_geom  GeomFromText('POLYGON((-169466
5995586.35980861,-169466 6789793.64019139,1417430 6789793.64019139,1417430
5995586.35980861,-169466 5995586.35980861))',-1)
 in /var/www/pmapper-4.0/incphp/map/map.php on line 326

Como escribi en el anterior correo creo que es un tema con los campos CHAR
cuyos valores son TEXTO.
Si pruebo con otros campos que sean NUMERIC funciona, el tema que los tengo
que filtrar si o si por el campo DESCRIPTOR para no tocar toda la base
postgres.
Entonces creo que lo que pasa es que cuando PMAPPER parsea el MAPFILE no
encuentra algun caracter especial para validar campos texto.
Saludos
Eduardo






2011/5/24 francisco.goma...@gmail.com francisco.goma...@gmail.com

 Yo haría para tus datos lo siguiente:

 DATA 'the_geom from (SELECT * FROM zonas_salud WHERE
 DESCRIPTOR='Terciaria') AS subquery USING UNIQUE gid USING srid=23030'

 si lo que quieres es seleccionar las entidades que tengan exactamente
 esa palabra, sino sería LIKE '%Terciaria%' con comodines (también suelo
 definir el srid)

 Un saludo

 El 24/05/2011 15:56, Eduardo Bieñkowski escribió:
  Tengo una consuita para realizar respecto de una SQL en la que quiero
  recuperar datos según un campo de texto.
  He utilizado LIKE no funciona
  DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR LIKE
  'Terciaria') AS zonas USING UNIQUE gid'
  asi tampoco
  DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR LIKE
  Terciaria) AS zonas USING UNIQUE gid'
 
  He utilizado el signo de = con comillas simples no funciona,
  DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR
  ='Terciaria') AS zonas USING UNIQUE gid'
 
  He utilizado el signo de = con comillas dobles tampoco
  DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR
  ='Terciaria) AS zonas USING UNIQUE gid'
 
  Sin nada tampoco funciona
  DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR LIKE
 Ruta
  Terciaria) AS zonas USING UNIQUE gid'
  DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR
  =Terciaria) AS zonas USING UNIQUE gid'
 
  Los errores que me salen son del tipo:
  [24-May-2011 10:54:19] PHP Warning:  [MapServer Error]: msDrawMap():
 Failed
  to draw layer named 'zonas_salud'.
in /var/www/pmapper-4.0/incphp/globals.php on line 60
  [24-May-2011 10:54:19] PHP Warning:  [MapServer Error]:
  msPostGISLayerWhichShapes(): Error (ERROR:  error de sintaxis en o cerca
 de
  «Terciaria»
  LINE 1: ...ROM zonas_salud WHERE DESCRIPTOR = Terciaria)...
 
 
 
 
  Sin embargo si lo hago con PSQL pasando el SELECT * FROM zonas_salud
 WHERE
  DESCRIPTOR ='Terciaria'
  ESTO SI FUNCIONA
 



 --
 vRanger cuts backup time in half-while increasing security.
 With the market-leading solution for virtual backup and recovery,
 you get blazing-fast, flexible, and affordable data protection.
 Download your free trial now.
 http://p.sf.net/sfu/quest-d2dcopy1
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




-- 
Edu
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] SQL en mapfile

2011-05-25 Thread Eduardo Bieñkowski
Ahora intente hacerlo de esta manera

DATA 'the_geom from rutasprincipales_ln USING UNIQUE gid USING srid=-1'
TYPE LINE
FILTER 'descriptor' = 'Terciaria'

y se despliega el mapa, pero ninguna de las capas que solicite en el SQL y
en el php_error.log me despliega

[25-May-2011 13:32:55] PHP Warning:  DOMDocument::schemaValidate() [a
href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
'pmapper': No matching global declaration available for the validation root.
in /var/www/pmapper-4.0/incphp/query/search.php on line 69
[25-May-2011 13:32:55] Validation of search.xml file FAILED:
br /
bWarning/b:  DOMDocument::schemaValidate() [a
href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
'pmapper': No matching global declaration available for the validation root.
in b/var/www/pmapper-4.0/incphp/query/search.php/b on line b69/bbr
/

Cuestión que ahora si que estoy desorientado.
Saludos
EB



2011/5/25 Eduardo Bieñkowski eduko...@gmail.com

 Ya probé con lo que sugirió Francisco y me largo el error de parseo
 siguiente:

 *Warning*: [MapServer Error]: loadLayer(): Parsing error near
 (Terciaria):(line 343) in */var/www/pmapper-4.0/incphp/globals.php* on
 line *60*
 Además de que no aparece la interrfaz gráfica.

 Lo que hice fue ponerle comillas a DESCRIPTOR y sacarle las comillas
 simples a Terciaria.
 De esta manera abre la interfaz gráfica pero no se visualiza el mapa, al
 leer el php_error.log me sale este mensaje

 [25-May-2011 11:06:35] PHP Warning:  [MapServer Error]: msDrawMap(): Failed
 to draw layer named 'zonas_salud'.
  in /var/www/pmapper-4.0/incphp/map/map.php on line 326
 [25-May-2011 11:06:35] PHP Warning:  [MapServer Error]:
 msPostGISLayerWhichShapes(): Error (ERROR:  error de sintaxis en o cerca de
 «Terciaria»
 LINE 1: ... FROM zonas_salud WHERE DESCRIPTOR=Terciaria)...
  ^
 ) executing query: select
 NOMBRE,encode(AsBinary(force_collection(force_2d(the_geom)),'NDR'),'hex')
 as geom,gid from (SELECT * FROM zonas_salud WHERE DESCRIPTOR=Terciaria)
 AS subquery where the_geom  GeomFromText('POLYGON((-169466
 5995586.35980861,-169466 6789793.64019139,1417430 6789793.64019139,1417430
 5995586.35980861,-169466 5995586.35980861))',-1)
  in /var/www/pmapper-4.0/incphp/map/map.php on line 326

 Como escribi en el anterior correo creo que es un tema con los campos CHAR
 cuyos valores son TEXTO.
 Si pruebo con otros campos que sean NUMERIC funciona, el tema que los tengo
 que filtrar si o si por el campo DESCRIPTOR para no tocar toda la base
 postgres.
 Entonces creo que lo que pasa es que cuando PMAPPER parsea el MAPFILE no
 encuentra algun caracter especial para validar campos texto.
 Saludos
 Eduardo






 2011/5/24 francisco.goma...@gmail.com francisco.goma...@gmail.com

 Yo haría para tus datos lo siguiente:

 DATA 'the_geom from (SELECT * FROM zonas_salud WHERE
 DESCRIPTOR='Terciaria') AS subquery USING UNIQUE gid USING srid=23030'

 si lo que quieres es seleccionar las entidades que tengan exactamente
 esa palabra, sino sería LIKE '%Terciaria%' con comodines (también suelo
 definir el srid)

 Un saludo

 El 24/05/2011 15:56, Eduardo Bieñkowski escribió:
  Tengo una consuita para realizar respecto de una SQL en la que quiero
  recuperar datos según un campo de texto.
  He utilizado LIKE no funciona
  DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR LIKE
  'Terciaria') AS zonas USING UNIQUE gid'
  asi tampoco
  DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR LIKE
  Terciaria) AS zonas USING UNIQUE gid'
 
  He utilizado el signo de = con comillas simples no funciona,
  DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR
  ='Terciaria') AS zonas USING UNIQUE gid'
 
  He utilizado el signo de = con comillas dobles tampoco
  DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR
  ='Terciaria) AS zonas USING UNIQUE gid'
 
  Sin nada tampoco funciona
  DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR LIKE
 Ruta
  Terciaria) AS zonas USING UNIQUE gid'
  DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR
  =Terciaria) AS zonas USING UNIQUE gid'
 
  Los errores que me salen son del tipo:
  [24-May-2011 10:54:19] PHP Warning:  [MapServer Error]: msDrawMap():
 Failed
  to draw layer named 'zonas_salud'.
in /var/www/pmapper-4.0/incphp/globals.php on line 60
  [24-May-2011 10:54:19] PHP Warning:  [MapServer Error]:
  msPostGISLayerWhichShapes(): Error (ERROR:  error de sintaxis en o cerca
 de
  «Terciaria»
  LINE 1: ...ROM zonas_salud WHERE DESCRIPTOR = Terciaria)...
 
 
 
 
  Sin embargo si lo hago con PSQL pasando el SELECT * FROM zonas_salud
 WHERE
  DESCRIPTOR ='Terciaria'
  ESTO SI FUNCIONA
 



 --
 vRanger cuts backup time in half-while increasing security.
 With the market-leading solution for virtual backup and recovery,
 you get blazing-fast

Re: [pmapper-users] SQL en mapfile

2011-05-25 Thread Eduardo Bieñkowski
Cristian y Listeros:

He intentado como tu dices pero a pesar de abrirme el mapa no me muestra esa
la capa seleccionada y me vuelve e a enviar el mismo mensaje que ya no es de
SQL sino de parseo de un XML y no se de que se trata.

[25-May-2011 14:19:54] PHP Warning:  DOMDocument::schemaValidate() [a
href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
'pmapper': No matching global declaration available for the validation root.
in /var/www/pmapper-4.0/incphp/query/search.php on line 69
[25-May-2011 14:19:54] Validation of search.xml file FAILED:
br /
bWarning/b:  DOMDocument::schemaValidate() [a
href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
'pmapper': No matching global declaration available for the validation root.
in b/var/www/pmapper-4.0/incphp/query/search.php/b on line b69/bbr
/

En cuanto al caso que me pasaste en el link no es el error que me pasa a mi,
es decir no es un tema de la columna de la tabla, hay algun caracter que no
se reconoce o demas que implica que no se este construyendo de forma
correcta alguno de los XML.
De todas maneras yo quiero resolverlo con un SQL y no utilizando el FILTER.
Ya que es una base de una cantidad importante de registros y estaria
seleccionandolos todos para luego filtrarlos y no al revés es decir
filtrarlos y seleccionarlos.
Desde el punto de los tiempos y de la optimización de la consulta lo segundo
sería lo mejor.
Gracias

Saludos
Eduardo


El 25 de mayo de 2011 13:47, Cristian Olguín Avila cristianolg...@gmail.com
escribió:

 estimado..

 pruebe a cambiar el campo DESCRIPTOR a minuscula en su base de datos,
 si no puede porque se usa en otro lugar,
 pruebe con
 DATA 'the_geom from rutasprincipales_ln USING UNIQUE gid USING srid=-1'
 TYPE LINE
 FILTER \DESCRIPTOR\ = 'Terciaria'


 dado que si es string el valor Terciaria debe ir entre comillas simples, y
 el problema de usar columnas con nombre en mayusculas es que sin las
 comillas dobles la consulta no funciona

 si esa linea no funciona pruebe alguna combinacion como 2 comillas dobles o
 algo de modo que cuando interprete el phpmapscript, genere una línea que si
 acepte la base de datos.
 saludos

 Cristian O.
 www.digitalbee.cl


 2011/5/25 Eduardo Bieñkowski eduko...@gmail.com

 Ahora intente hacerlo de esta manera

 DATA 'the_geom from rutasprincipales_ln USING UNIQUE gid USING srid=-1'
 TYPE LINE
 FILTER 'descriptor' = 'Terciaria'

 y se despliega el mapa, pero ninguna de las capas que solicite en el SQL y
 en el php_error.log me despliega

 [25-May-2011 13:32:55] PHP Warning:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
 'pmapper': No matching global declaration available for the validation
 root.
 in /var/www/pmapper-4.0/incphp/query/search.php on line 69
 [25-May-2011 13:32:55] Validation of search.xml file FAILED:
 br /
 bWarning/b:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
 'pmapper': No matching global declaration available for the validation
 root.
 in b/var/www/pmapper-4.0/incphp/query/search.php/b on line
 b69/bbr
 /

 Cuestión que ahora si que estoy desorientado.
 Saludos
 EB



 2011/5/25 Eduardo Bieñkowski eduko...@gmail.com

  Ya probé con lo que sugirió Francisco y me largo el error de parseo
  siguiente:
 
  *Warning*: [MapServer Error]: loadLayer(): Parsing error near
  (Terciaria):(line 343) in */var/www/pmapper-4.0/incphp/globals.php* on
  line *60*
  Además de que no aparece la interrfaz gráfica.
 
  Lo que hice fue ponerle comillas a DESCRIPTOR y sacarle las comillas
  simples a Terciaria.
  De esta manera abre la interfaz gráfica pero no se visualiza el mapa, al
  leer el php_error.log me sale este mensaje
 
  [25-May-2011 11:06:35] PHP Warning:  [MapServer Error]: msDrawMap():
 Failed
  to draw layer named 'zonas_salud'.
   in /var/www/pmapper-4.0/incphp/map/map.php on line 326
  [25-May-2011 11:06:35] PHP Warning:  [MapServer Error]:
  msPostGISLayerWhichShapes(): Error (ERROR:  error de sintaxis en o cerca
 de
  «Terciaria»
  LINE 1: ... FROM zonas_salud WHERE DESCRIPTOR=Terciaria)...
   ^
  ) executing query: select
 
 NOMBRE,encode(AsBinary(force_collection(force_2d(the_geom)),'NDR'),'hex')
  as geom,gid from (SELECT * FROM zonas_salud WHERE
 DESCRIPTOR=Terciaria)
  AS subquery where the_geom  GeomFromText('POLYGON((-169466
  5995586.35980861,-169466 6789793.64019139,1417430
 6789793.64019139,1417430
  5995586.35980861,-169466 5995586.35980861))',-1)
   in /var/www/pmapper-4.0/incphp/map/map.php on line 326
 
  Como escribi en el anterior correo creo que es un tema con los campos
 CHAR
  cuyos valores son TEXTO.
  Si pruebo con otros campos que sean NUMERIC funciona, el tema que los
 tengo
  que filtrar si o si por el campo DESCRIPTOR para no tocar toda la base
  postgres.
  Entonces creo que lo que pasa es que cuando PMAPPER parsea el MAPFILE

Re: [pmapper-users] SQL en mapfile

2011-05-25 Thread Eduardo Bieñkowski
Estimados:
Lo he logrado resolver pero no de la manera que deseaba, es decir sigue
siendo una manera no demasiado óptima de resolverlo.
dejo parte del mapfile para que vean como lo resolví:
LAYER
NAME 'zonas_salud'
TYPE LINE
STATUS ON
TRANSPARENCY 100
TEMPLATE void
#DATA 'rutasprincipales_ln.shp'
   CONNECTIONTYPE postgis
   CONNECTION dbname='*' host=*** port='5432' user='*'
password='*'
DATA 'the_geom from rutasprincipales_ln USING UNIQUE gid USING srid=-1 '
TYPE LINE
#FILTER 'descriptor' = '*'



   DUMP true
TOLERANCE 3
TOLERANCEUNITS pixels
SIZEUNITS pixels

PROJECTION
proj=utm
zone=21
south
ellps=WGS84
datum=WGS84
units=m
no_defsUSING srid=-1
END # end projection


METADATA
  DESCRIPTION RUTAS PRELIMINAR
  RESULT_FIELDS NOMBRE
  RESULT_HEADERS NOMBRE TEC

  RESULT_HYPERLINK ID
  LAYER_ENCODING UTF-8
  CATEGORY cat_admin
 # ows_title  calles
END  # Metadata

LABELITEM NOMBRE
LABELCACHE ON
LABELMAXSCALEDENOM 90

CLASSITEM DESCRIPTOR
  CLASS
   NAME 'Rutas'
   EXPRESSION 'Ruta Terciaria'
STYLE
 WIDTH 0.91
 COLOR 21 255 51
   END
LABEL
ENCODING UTF-8
POSITION lc
ANGLE AUTO
MINDISTANCE 300
COLOR 0 150 150
#BACKGROUNDCOLOR 255 255 128
#BACKGROUNDSHADOWCOLOR 150 150 150
#BACKGROUNDSHADOWSIZE 2 2
BUFFER 1
SIZE small
END #Label
END #end class
  END  # end layer




2011/5/25 Eduardo Bieñkowski eduko...@gmail.com

 Cristian y Listeros:

 He intentado como tu dices pero a pesar de abrirme el mapa no me muestra
 esa la capa seleccionada y me vuelve e a enviar el mismo mensaje que ya no
 es de SQL sino de parseo de un XML y no se de que se trata.

 [25-May-2011 14:19:54] PHP Warning:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
 'pmapper': No matching global declaration available for the validation root.
 in /var/www/pmapper-4.0/incphp/query/search.php on line 69
 [25-May-2011 14:19:54] Validation of search.xml file FAILED:
 br /
 bWarning/b:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
 'pmapper': No matching global declaration available for the validation root.
 in b/var/www/pmapper-4.0/incphp/query/search.php/b on line b69/bbr
 /

 En cuanto al caso que me pasaste en el link no es el error que me pasa a
 mi, es decir no es un tema de la columna de la tabla, hay algun caracter que
 no se reconoce o demas que implica que no se este construyendo de forma
 correcta alguno de los XML.
 De todas maneras yo quiero resolverlo con un SQL y no utilizando el FILTER.
 Ya que es una base de una cantidad importante de registros y estaria
 seleccionandolos todos para luego filtrarlos y no al revés es decir
 filtrarlos y seleccionarlos.
 Desde el punto de los tiempos y de la optimización de la consulta lo
 segundo sería lo mejor.
 Gracias

 Saludos
 Eduardo


 El 25 de mayo de 2011 13:47, Cristian Olguín Avila 
 cristianolg...@gmail.com escribió:

 estimado..

 pruebe a cambiar el campo DESCRIPTOR a minuscula en su base de datos,
 si no puede porque se usa en otro lugar,
 pruebe con
 DATA 'the_geom from rutasprincipales_ln USING UNIQUE gid USING srid=-1'
 TYPE LINE
 FILTER \DESCRIPTOR\ = 'Terciaria'


 dado que si es string el valor Terciaria debe ir entre comillas simples, y
 el problema de usar columnas con nombre en mayusculas es que sin las
 comillas dobles la consulta no funciona

 si esa linea no funciona pruebe alguna combinacion como 2 comillas dobles
 o algo de modo que cuando interprete el phpmapscript, genere una línea que
 si acepte la base de datos.
 saludos

 Cristian O.
 www.digitalbee.cl


 2011/5/25 Eduardo Bieñkowski eduko...@gmail.com

 Ahora intente hacerlo de esta manera

 DATA 'the_geom from rutasprincipales_ln USING UNIQUE gid USING srid=-1'
 TYPE LINE
 FILTER 'descriptor' = 'Terciaria'

 y se despliega el mapa, pero ninguna de las capas que solicite en el SQL
 y
 en el php_error.log me despliega

 [25-May-2011 13:32:55] PHP Warning:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]:
 Element
 'pmapper': No matching global declaration available for the validation
 root.
 in /var/www/pmapper-4.0/incphp/query/search.php on line 69
 [25-May-2011 13:32:55] Validation of search.xml file FAILED:
 br /
 bWarning/b:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]:
 Element
 'pmapper': No matching global declaration

Re: [pmapper-users] SQL en mapfile

2011-05-25 Thread Eduardo Bieñkowski
Vuelvo a copiar MAPFILE porque por error quedo mezclado, pinto en verde lo
que me dio la solucion.

  LAYER
NAME 'areas_salud'
TYPE LINE
STATUS ON
TRANSPARENCY 100
TEMPLATE void

   CONNECTIONTYPE postgis
   CONNECTION dbname='*' host= port='5432' user=''
password=''
DATA 'the_geom from areas_salud USING UNIQUE gid USING srid=-1 '
TYPE LINE
   DUMP true
TOLERANCE 3
TOLERANCEUNITS pixels
SIZEUNITS pixels

PROJECTION
proj=utm
zone=21
south
ellps=WGS84
datum=WGS84
units=m
no_defsUSING srid=-1
END # end projection

  CLASSITEM DESCRIPTOR
  CLASS
   NAME 'Rutas'
   EXPRESSION 'Ruta Terciaria'
STYLE
 WIDTH 0.91
 COLOR 21 255 51
   END
LABEL
ENCODING UTF-8
POSITION lc
ANGLE AUTO
MINDISTANCE 300
COLOR 0 150 150
BUFFER 1
SIZE small
END #Label
END #end class
  END  # end layer

2011/5/25 Eduardo Bieñkowski eduko...@gmail.com

 Cristian y Listeros:

 He intentado como tu dices pero a pesar de abrirme el mapa no me muestra
 esa la capa seleccionada y me vuelve e a enviar el mismo mensaje que ya no
 es de SQL sino de parseo de un XML y no se de que se trata.

 [25-May-2011 14:19:54] PHP Warning:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
 'pmapper': No matching global declaration available for the validation root.
 in /var/www/pmapper-4.0/incphp/query/search.php on line 69
 [25-May-2011 14:19:54] Validation of search.xml file FAILED:
 br /
 bWarning/b:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
 'pmapper': No matching global declaration available for the validation root.
 in b/var/www/pmapper-4.0/incphp/query/search.php/b on line b69/bbr
 /

 En cuanto al caso que me pasaste en el link no es el error que me pasa a
 mi, es decir no es un tema de la columna de la tabla, hay algun caracter que
 no se reconoce o demas que implica que no se este construyendo de forma
 correcta alguno de los XML.
 De todas maneras yo quiero resolverlo con un SQL y no utilizando el FILTER.
 Ya que es una base de una cantidad importante de registros y estaria
 seleccionandolos todos para luego filtrarlos y no al revés es decir
 filtrarlos y seleccionarlos.
 Desde el punto de los tiempos y de la optimización de la consulta lo
 segundo sería lo mejor.
 Gracias

 Saludos
 Eduardo


 El 25 de mayo de 2011 13:47, Cristian Olguín Avila 
 cristianolg...@gmail.com escribió:

 estimado..

 pruebe a cambiar el campo DESCRIPTOR a minuscula en su base de datos,
 si no puede porque se usa en otro lugar,
 pruebe con
 DATA 'the_geom from rutasprincipales_ln USING UNIQUE gid USING srid=-1'
 TYPE LINE
 FILTER \DESCRIPTOR\ = 'Terciaria'


 dado que si es string el valor Terciaria debe ir entre comillas simples, y
 el problema de usar columnas con nombre en mayusculas es que sin las
 comillas dobles la consulta no funciona

 si esa linea no funciona pruebe alguna combinacion como 2 comillas dobles
 o algo de modo que cuando interprete el phpmapscript, genere una línea que
 si acepte la base de datos.
 saludos

 Cristian O.
 www.digitalbee.cl


 2011/5/25 Eduardo Bieñkowski eduko...@gmail.com

 Ahora intente hacerlo de esta manera

 DATA 'the_geom from rutasprincipales_ln USING UNIQUE gid USING srid=-1'
 TYPE LINE
 FILTER 'descriptor' = 'Terciaria'

 y se despliega el mapa, pero ninguna de las capas que solicite en el SQL
 y
 en el php_error.log me despliega

 [25-May-2011 13:32:55] PHP Warning:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]:
 Element
 'pmapper': No matching global declaration available for the validation
 root.
 in /var/www/pmapper-4.0/incphp/query/search.php on line 69
 [25-May-2011 13:32:55] Validation of search.xml file FAILED:
 br /
 bWarning/b:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]:
 Element
 'pmapper': No matching global declaration available for the validation
 root.
 in b/var/www/pmapper-4.0/incphp/query/search.php/b on line
 b69/bbr
 /

 Cuestión que ahora si que estoy desorientado.
 Saludos
 EB



 2011/5/25 Eduardo Bieñkowski eduko...@gmail.com

  Ya probé con lo que sugirió Francisco y me largo el error de parseo
  siguiente:
 
  *Warning*: [MapServer Error]: loadLayer(): Parsing error near
  (Terciaria):(line 343) in */var/www/pmapper-4.0/incphp/globals.php* on
  line *60*
  Además de que no aparece la interrfaz gráfica.
 
  Lo que hice fue ponerle comillas a DESCRIPTOR y sacarle las comillas
  simples a Terciaria.
  De esta manera abre la interfaz gráfica pero no se visualiza el mapa

Re: [pmapper-users] SQL en mapfile

2011-05-25 Thread Eduardo Bieñkowski
A pesar de haberlo solucionado en el log de php_errors me sigue saliendo
cada vez que levanta la susodicha capa el siguiene error:


 PHP Warning:  DOMDocument::schemaValidate() [a
href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
'pmapper': No matching global declaration available for the validation root.
in /var/www/pmapper-4.0/incphp/query/search.php on line 69
Validation of search.xml file FAILED:
br /
bWarning/b:  DOMDocument::schemaValidate() [a
href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
'pmapper': No matching global declaration available for the validation root.
in b/var/www/pmapper-4.0/incphp/query/search.php/b on line b69/bbr
/

2011/5/25 Eduardo Bieñkowski eduko...@gmail.com

 Vuelvo a copiar MAPFILE porque por error quedo mezclado, pinto en verde lo
 que me dio la solucion.

   LAYER
 NAME 'areas_salud'

 TYPE LINE
 STATUS ON
 TRANSPARENCY 100
 TEMPLATE void

CONNECTIONTYPE postgis
CONNECTION dbname='*' host= port='5432' user=''
 password=''
 DATA 'the_geom from areas_salud USING UNIQUE gid USING srid=-1 '
 TYPE LINE
DUMP true
 TOLERANCE 3
 TOLERANCEUNITS pixels
 SIZEUNITS pixels

 PROJECTION
 proj=utm
 zone=21
 south
 ellps=WGS84
 datum=WGS84
 units=m
 no_defsUSING srid=-1
 END # end projection

   CLASSITEM DESCRIPTOR
   CLASS
NAME 'Rutas'
EXPRESSION 'Ruta Terciaria'
 STYLE
  WIDTH 0.91
  COLOR 21 255 51
END
 LABEL
 ENCODING UTF-8
 POSITION lc
 ANGLE AUTO
 MINDISTANCE 300
 COLOR 0 150 150
 BUFFER 1
 SIZE small
 END #Label
 END #end class
   END  # end layer

 2011/5/25 Eduardo Bieñkowski eduko...@gmail.com

 Cristian y Listeros:

 He intentado como tu dices pero a pesar de abrirme el mapa no me muestra
 esa la capa seleccionada y me vuelve e a enviar el mismo mensaje que ya no
 es de SQL sino de parseo de un XML y no se de que se trata.

 [25-May-2011 14:19:54] PHP Warning:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
 'pmapper': No matching global declaration available for the validation root.
 in /var/www/pmapper-4.0/incphp/query/search.php on line 69
 [25-May-2011 14:19:54] Validation of search.xml file FAILED:
 br /
 bWarning/b:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]: Element
 'pmapper': No matching global declaration available for the validation root.
 in b/var/www/pmapper-4.0/incphp/query/search.php/b on line b69/bbr
 /

 En cuanto al caso que me pasaste en el link no es el error que me pasa a
 mi, es decir no es un tema de la columna de la tabla, hay algun caracter que
 no se reconoce o demas que implica que no se este construyendo de forma
 correcta alguno de los XML.
 De todas maneras yo quiero resolverlo con un SQL y no utilizando el
 FILTER.
 Ya que es una base de una cantidad importante de registros y estaria
 seleccionandolos todos para luego filtrarlos y no al revés es decir
 filtrarlos y seleccionarlos.
 Desde el punto de los tiempos y de la optimización de la consulta lo
 segundo sería lo mejor.
 Gracias

 Saludos
 Eduardo


 El 25 de mayo de 2011 13:47, Cristian Olguín Avila 
 cristianolg...@gmail.com escribió:

 estimado..

 pruebe a cambiar el campo DESCRIPTOR a minuscula en su base de datos,
 si no puede porque se usa en otro lugar,
 pruebe con
 DATA 'the_geom from rutasprincipales_ln USING UNIQUE gid USING srid=-1'
 TYPE LINE
 FILTER \DESCRIPTOR\ = 'Terciaria'


 dado que si es string el valor Terciaria debe ir entre comillas simples,
 y el problema de usar columnas con nombre en mayusculas es que sin las
 comillas dobles la consulta no funciona

 si esa linea no funciona pruebe alguna combinacion como 2 comillas dobles
 o algo de modo que cuando interprete el phpmapscript, genere una línea que
 si acepte la base de datos.
 saludos

 Cristian O.
 www.digitalbee.cl


 2011/5/25 Eduardo Bieñkowski eduko...@gmail.com

 Ahora intente hacerlo de esta manera

 DATA 'the_geom from rutasprincipales_ln USING UNIQUE gid USING srid=-1'
 TYPE LINE
 FILTER 'descriptor' = 'Terciaria'

 y se despliega el mapa, pero ninguna de las capas que solicite en el SQL
 y
 en el php_error.log me despliega

 [25-May-2011 13:32:55] PHP Warning:  DOMDocument::schemaValidate() [a
 href='domdocument.schemavalidate'domdocument.schemavalidate/a]:
 Element
 'pmapper': No matching global declaration available for the validation
 root.
 in /var/www/pmapper-4.0/incphp/query/search.php on line 69
 [25-May-2011 13:32:55] Validation of search.xml file FAILED:
 br /
 bWarning/b:  DOMDocument::schemaValidate

[pmapper-users] SQL en mapfile

2011-05-24 Thread Eduardo Bieñkowski
Tengo una consuita para realizar respecto de una SQL en la que quiero
recuperar datos según un campo de texto.
He utilizado LIKE no funciona
DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR LIKE
'Terciaria') AS zonas USING UNIQUE gid'
asi tampoco
DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR LIKE
Terciaria) AS zonas USING UNIQUE gid'

He utilizado el signo de = con comillas simples no funciona,
DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR
='Terciaria') AS zonas USING UNIQUE gid'

He utilizado el signo de = con comillas dobles tampoco
DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR
='Terciaria) AS zonas USING UNIQUE gid'

Sin nada tampoco funciona
DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR LIKE Ruta
Terciaria) AS zonas USING UNIQUE gid'
DATA 'the_geom from (SELECT * FROM zonas_salud WHERE DESCRIPTOR
=Terciaria) AS zonas USING UNIQUE gid'

Los errores que me salen son del tipo:
[24-May-2011 10:54:19] PHP Warning:  [MapServer Error]: msDrawMap(): Failed
to draw layer named 'zonas_salud'.
 in /var/www/pmapper-4.0/incphp/globals.php on line 60
[24-May-2011 10:54:19] PHP Warning:  [MapServer Error]:
msPostGISLayerWhichShapes(): Error (ERROR:  error de sintaxis en o cerca de
«Terciaria»
LINE 1: ...ROM zonas_salud WHERE DESCRIPTOR = Terciaria)...




Sin embargo si lo hago con PSQL pasando el SELECT * FROM zonas_salud WHERE
DESCRIPTOR ='Terciaria'
ESTO SI FUNCIONA

-- 
Edu
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] point of interest - Check link Youtube

2011-05-23 Thread Eduardo Bieñkowski
Como dice Victoria podrás compartir el código
Saludos
Eduardo

2011/5/23 Jose Mercedes Venegas Acevedo ingjvene...@sandta.com

  Hola Eduardo.

 yo cambie el pm_cjs lo del boton que agrega texto para que salga el
 formulario y cargues mas cosas y grabar en la BD.

 busca la funcion poi y agrega lo que necesites.

 saludos

 José

 --
 Date: Fri, 20 May 2011 17:59:51 -0300
 Subject: Re: [pmapper-users] point of interest - Check link Youtube
 From: eduko...@gmail.com
 To: ingjvene...@sandta.com


 Tu tienes un script o que archivo se debe modificar para realizar el insert
 del poi al mapa activo??
 Gracias
 Eduardo

 2011/5/20 Jose Mercedes Venegas Acevedo ingjvene...@sandta.com

  Hola Eduardo si es posible
 yo hace dias venia preguntando como rotar el mapa
 con el mapa rotado mostrar las busquedas y capas dinamicas
 bueno ya logre girar el mapa asi que agregue una caja de texto para rotar

 y tambien lo que dices de consultar en una BD y agregar un punto de interes


 lamentablemente cuando el mapa esta rotado el paneo funciona mal tambien lo
 veras en el mapa
 espero alguien tenga una idea de como modificar la programacion del paneo
 para incluir el angulo de rotacion.

 lo puedes ver en este video de youtube.

 http://www.youtube.com/watch?v=emv838A6EfA


 Hi Eduardo, if possible
 I came days ago asking how to rotate the map
 with map searches and rotated to show the dynamic layers
 achieve good and rotate the map so that you add a text box to rotate

 and also what you say to consult on a DB and add a point of interest

 Unfortunately when the map is rotated the wrong pan also see it on the map
 I hope someone has an idea on how to modify the programming of the pan to
 cover the angle of rotation.

 You can see in this video from youtube.

 http://www.youtube.com/watch?v=emv838A6EfA


  Date: Fri, 20 May 2011 09:09:07 -0300
  From: eduko...@gmail.com
  To: pmapper-users@lists.sourceforge.net
  Subject: [pmapper-users] point of interest
 
  Amigos:
  Es posible pasar por parámetros desde un php o aplicación externa a
 pmapper
  para que dibuje un punto de interes (POI) ?
  Y a la inversa? puedo recuperar las coordenadas en una base de datos
 desde
  un POI ?
  Saludos
  Eduardo
 
 
  Google Translate
  Friends:
  It is possible to pass parameters from a php or pmapper external
 application
  to draw a point of interest (POI)?
  And vice versa? I can retrieve the coordinates in a database from a POI?
  Greetings
  Eduardo
 
 --
  What Every C/C++ and Fortran developer Should Know!
  Read this article and learn how Intel has extended the reach of its
  next-generation tools to help Windows* and Linux* C/C++ and Fortran
  developers boost performance applications - including clusters.
  http://p.sf.net/sfu/intel-dev2devmay
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users




 --
 Edu




-- 
Edu
--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] point of interest

2011-05-20 Thread Eduardo Bieñkowski
Amigos:
Es posible pasar por parámetros desde un php o aplicación externa a pmapper
para que dibuje un punto de interes (POI)  ?
Y a la inversa?  puedo recuperar las coordenadas en una base de datos desde
un POI ?
Saludos
Eduardo


Google Translate
Friends:
It is possible to pass parameters from a php or pmapper external application
to draw a point of interest (POI)?
And vice versa? I can retrieve the coordinates in a database from a POI?
Greetings
Eduardo
--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Consulta zoom prefijado

2011-04-14 Thread Eduardo Bieñkowski
Tengo instalado:
Ubuntu 9.10
Apache
Php 5.2
Pmapper-4.0
Postgres-8.4

Puedo encender la aplicacióncon un zoom determinado  y en una posición
fijada con anterioridad en el mapa?


Google Translate:

I have installed:
Ubuntu 9.10
Apache
PHP 5.2
Pmapper-4.0
Postgres-8.4

I can turn on the application with a given zoom and a previously stated
position on the map?

-- 
Eduardo
--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Consulta zoom prefijado

2011-04-14 Thread Eduardo Bieñkowski
Si los ejemplos los vi, lo que quiero saber es cuales son los archivos a
modificar.
Saludos
Eduardo


2011/4/14 Eduardo Bieñkowski eduko...@gmail.com

 Tengo instalado:
 Ubuntu 9.10
 Apache
 Php 5.2
 Pmapper-4.0
 Postgres-8.4

 Puedo encender la aplicacióncon un zoom determinado  y en una posición
 fijada con anterioridad en el mapa?

 

 Google Translate:

 I have installed:
 Ubuntu 9.10
 Apache
 PHP 5.2
 Pmapper-4.0
 Postgres-8.4

 I can turn on the application with a given zoom and a previously stated
 position on the map?

 --
 Eduardo

 --
 Benefiting from Server Virtualization: Beyond Initial Workload
 Consolidation -- Increasing the use of server virtualization is a top
 priority.Virtualization can reduce costs, simplify management, and improve
 application availability and disaster protection. Learn more about boosting
 the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




-- 
Edu
--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] identity button

2011-04-13 Thread Eduardo Bieñkowski
Se puede agregar el botón de información de la capa en la barra de legend
para no tener que darle al botón derecho sobre al leyenda
Si es asi que archivo hay que modificar?
Saludos

-- 
Edu
--
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Consulta SQL

2011-04-01 Thread Eduardo Bieñkowski
Les cuento he intentado hacer la consulta tal cual Sandra me sugirió, no
tuve resultado y les copio como la intentá hacer ahora

 DATA the_geom from (select * from pais_hospitales where dpto=5 and dpto=8)
AS foo USING UNIQUE gid

Si saco el AND funciona todo impecable mostrandome los datos que le pongo al
WHERE si coloco la sentencia AND no me muestra nada y se que existen datos
tanto para dpto=5 como para dpto=8.
Saludos



2011/3/24 Eduardo Bieñkowski eduko...@gmail.com

 *He buscado referencias a la construccion de sentencias sql en un MAPFILE
 y lo único que encuentro es como se construye el join y el select común.
 Existe algun otro tipo de sentencia a construir dentro de un mapfile?
 *
 --
 Edu




-- 
Edu
--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Consulta SQL

2011-04-01 Thread Eduardo Bieñkowski
Invirtiendo los operadores como me sugirió  Jorge Conconi me funcionó, es
decir puedo filtrar por departamento si lo hago con el AND no me resuelve
nada.
Saludos


2011/4/1 Eduardo Bieñkowski eduko...@gmail.com

 Si,  solo quiero filtrar por esos dos dptos, 5 y 8


 2011/4/1 Jorge Conconi jaconc...@gmail.com

 where dpto=5 and dpto=8  no puede dar resultados, deberias probar con
 OR.

 2011/4/1 Eduardo Bieñkowski eduko...@gmail.com

 Les cuento he intentado hacer la consulta tal cual Sandra me sugirió, no
 tuve resultado y les copio como la intentá hacer ahora

  DATA the_geom from (select * from pais_hospitales where dpto=5 and
 dpto=8)
 AS foo USING UNIQUE gid

 Si saco el AND funciona todo impecable mostrandome los datos que le pongo
 al
 WHERE si coloco la sentencia AND no me muestra nada y se que existen
 datos
 tanto para dpto=5 como para dpto=8.
 Saludos



 2011/3/24 Eduardo Bieñkowski eduko...@gmail.com

  *He buscado referencias a la construccion de sentencias sql en un
 MAPFILE
  y lo único que encuentro es como se construye el join y el select
 común.
  Existe algun otro tipo de sentencia a construir dentro de un mapfile?
  *
  --
  Edu
 



 --
 Edu

 --
 Create and publish websites with WebMatrix
 Use the most popular FREE web apps or write code yourself;
 WebMatrix provides all the features you need to develop and
 publish your website. http://p.sf.net/sfu/ms-webmatrix-sf

 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users





 --
 Edu




-- 
Edu
--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Consulta SQL

2011-03-24 Thread Eduardo Bieñkowski
*He buscado referencias a la construccion de sentencias sql en un MAPFILE y
lo único que encuentro es como se construye el join y el select común.
Existe algun otro tipo de sentencia a construir dentro de un mapfile?
*
-- 
Edu
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Consulta SQL

2011-03-24 Thread Eduardo Bieñkowski
No me refiero a consultas sencillas sino a las que se componen AND, OR
En realidad quiero utilizar sentencias con AND y OR y no me han funcionado.
Saludos
Eduardo

2011/3/24 Sandra Liliana Moreno Mayorga slmor...@dane.gov.co

 En el MAPFILE en la sección Layer, etiqueta DATA puedes generar un select
 utilizando sentencias de SQl, para ello incluyes:

 DATA the_geom FROM ('sentencia SQL') AS foo USING UNIQUE gid

 -Mensaje original-
 De: Eduardo Bieñkowski [mailto:eduko...@gmail.com]
 Enviado el: Jueves, 24 de Marzo de 2011 12:33 p.m.
 Para: pmapper_mailing_list
 Asunto: [pmapper-users] Consulta SQL

 *He buscado referencias a la construccion de sentencias sql en un MAPFILE y
 lo único que encuentro es como se construye el join y el select común.
 Existe algun otro tipo de sentencia a construir dentro de un mapfile?
 *
 --
 Edu

 
 --
 Enable your software for Intel(R) Active Management Technology to meet the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




-- 
Edu
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] User's privillage in pmapper

2010-12-16 Thread Eduardo Bieñkowski
Shafey
My suggestion is to do a setting of the application before and after and
spend according to the profile configuration file that you design for each
level.
Regards
Eduardo

2010/12/17 Shafey sha...@omnilink.com.au

 Hi all,

 I am going to develop an web gis solution for a group of people, who use
 this application according to group privillage.
 I need to setup user role in the database and setup a log in page before
 dispaly map page, according to group role use will get access some
 functionalities of the application like print map or hide some data layers
 for perticular group. I ask some suggestion to develop this kind of group
 privillage to our pmapper application. how can I give log in page before
 application start page and how can I hide some functionalities in the
 pmapper application.
 This will be a great help fof me If I get any kind of suggestion.

 Regards,

 Md. Abdul Lahel Shafey
 GIS Developer

 OMNILINK Pty Ltd, Sydney

 Phone: +61-2-9804 8807

 Mobile: 0401 422 407

 Fax: +61-2-9804 7901



 --
 Lotusphere 2011
 Register now for Lotusphere 2011 and learn how
 to connect the dots, take your collaborative environment
 to the next level, and enter the era of Social Business.
 http://p.sf.net/sfu/lotusphere-d2d
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




-- 
Edu
--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] proportional symbols

2010-12-10 Thread Eduardo Bieñkowski
Is there a way to include in the maps proportional symbols or graphics?

-- 
Edu
--
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Session Again

2010-12-09 Thread Eduardo Bieñkowski
Guys
Any suggestions or unfortunately I have to make a downgrade.
Eduardo

2010/12/7 Eduardo Bieñkowski eduko...@gmail.com

 Thomas and Josh
 Sure the cookie is not saved in the browser.
 I speak of a clean installation, which contradicts the documentation
 session.use_cookies = 0, I repeat does not work with what the documentation
 says.

 Working with Ubuntu 10.10 Maverick because migration is held in the
 company.

 Rare is it to work perfectly in ubuntu 9.10 or 10.04 and that doing the
 upgrade to 10.10 and the PHP Version 5.3.3 encounter these issues with
 session and cookies.
 Regards
 Eduardo

 Ps: if it were a bug, as reported?



 2010/12/6 Josh Jordan outerspacema...@yahoo.com

  It is known to work on a fresh 10.04 install, why not use that instead its
 LTS?


 --- On *Mon, 12/6/10, Eduardo Bieñkowski eduko...@gmail.com* wrote:


 From: Eduardo Bieñkowski eduko...@gmail.com
 Subject: [pmapper-users] Session Again
 To: pmapper_mailing_list pmapper-users@lists.sourceforge.net
 Date: Monday, December 6, 2010, 7:08 AM

 Dears
 I have problems installing pmapper-4.0 in Ubuntu 10.10
 When setting like this in the documentation on session.use_cookies = 0
 does
 not generate the maps, the drawing area is blank.
 I set up the session.use_cookies = 1 in php.ini maps are generated but the
 application does not refresh the screen, maintaining the session.
 When trying to configure Apache using the Location or Directory directive
 using php as apache module is the same.

 I was
 watching the track of the list and found

 http://www.mail-archive.com/pmapper-users@lists.sourceforge.net/msg00611.html
 that has not solved my problem.


 Stopped at zero again
 --
 Edu

 --

 What happens now with your Lotus Notes apps - do you make another costly
 upgrade, or settle for being marooned without product support? Time to
 move
 off Lotus Notes and onto the cloud with Force.com, apps are easier to
 build,
 use, and manage than apps on traditional platforms. Sign up for the Lotus
 Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.nethttp://mc/compose?to=pmapper-us...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users





 --
 Edu




-- 
Edu
--
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Session Again

2010-12-07 Thread Eduardo Bieñkowski
Thomas and Josh
Sure the cookie is not saved in the browser.
I speak of a clean installation, which contradicts the documentation
session.use_cookies = 0, I repeat does not work with what the documentation
says.

Working with Ubuntu 10.10 Maverick because migration is held in the company.

Rare is it to work perfectly in ubuntu 9.10 or 10.04 and that doing the
upgrade to 10.10 and the PHP Version 5.3.3 encounter these issues with
session and cookies.
Regards
Eduardo

Ps: if it were a bug, as reported?



2010/12/6 Josh Jordan outerspacema...@yahoo.com

 It is known to work on a fresh 10.04 install, why not use that instead its
 LTS?


 --- On *Mon, 12/6/10, Eduardo Bieñkowski eduko...@gmail.com* wrote:


 From: Eduardo Bieñkowski eduko...@gmail.com
 Subject: [pmapper-users] Session Again
 To: pmapper_mailing_list pmapper-users@lists.sourceforge.net
 Date: Monday, December 6, 2010, 7:08 AM

 Dears
 I have problems installing pmapper-4.0 in Ubuntu 10.10
 When setting like this in the documentation on session.use_cookies = 0 does
 not generate the maps, the drawing area is blank.
 I set up the session.use_cookies = 1 in php.ini maps are generated but the
 application does not refresh the screen, maintaining the session.
 When trying to configure Apache using the Location or Directory directive
 using php as apache module is the same.

 I was
 watching the track of the list and found

 http://www.mail-archive.com/pmapper-users@lists.sourceforge.net/msg00611.html
 that has not solved my problem.


 Stopped at zero again
 --
 Edu

 --

 What happens now with your Lotus Notes apps - do you make another costly
 upgrade, or settle for being marooned without product support? Time to move
 off Lotus Notes and onto the cloud with Force.com, apps are easier to
 build,
 use, and manage than apps on traditional platforms. Sign up for the Lotus
 Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.nethttp://mc/compose?to=pmapper-us...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users





-- 
Edu
--
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Session Again

2010-12-06 Thread Eduardo Bieñkowski
Dears
I have problems installing pmapper-4.0 in Ubuntu 10.10
When setting like this in the documentation on session.use_cookies = 0 does
not generate the maps, the drawing area is blank.
I set up the session.use_cookies = 1 in php.ini maps are generated but the
application does not refresh the screen, maintaining the session.
When trying to configure Apache using the Location or Directory directive
using php as apache module is the same.

I was
watching the track of the list and found
http://www.mail-archive.com/pmapper-users@lists.sourceforge.net/msg00611.html
that has not solved my problem.


Stopped at zero again
-- 
Edu
--
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Error in Plugin

2010-11-26 Thread Eduardo Bieñkowski
ALL
Adding something else to make it a little clearer:
I want to convert XY coordinates in spherical coordinates
Greetings
EB

2010/11/26 Eduardo Bieñkowski eduko...@gmail.com

 Chris:
 Made the corrections you sent me, still gives me this error.

 [26-Nov-2010 11:42:38] PHP Fatal error: [MapServer Error]:
 msProcessProjection (): Not named projection
  in / var/www/pmapper-4.0/plugins/coordinates/projection.php on line 7

 Thanks

 2010/11/25 Chris Jackson webturt...@gmail.com

 Eduardo

 I am no expert on this, for my purposes the following worked (epsg:3035
 was also defined as my map projection in the mapfile).

 coordinates
 mapPrj name=ETRS89/ETRS-LAEA roundTo=0
 /mapPrj
 prj name=lat/lon WGS84 roundTo=4

 definitioninit=epsg:4326/definition
 /prj
 prj name=UTM31 roundTo=0
 definitioninit=epsg:32631/definition
 /prj
 /coordinates

 I wonder whether you just need to reformat your definitions - lowercase
 and no spaces (I assume your badly formed tags in the snippet isn't the
 actual code you are using, if so then use my snippet as a guide).

 HTH
 Chris

 Also check the code lives in the plugins tag in your config.xml


 2010/11/25 Eduardo Bieñkowski eduko...@gmail.com

 Dears
 Enable the plugin cordinate in pmapper-4.0,  and I get the following
 error:

 PHP Fatal error: [MapServer Error]: msProcessProjection (): Not named
 projection
  in / var/www/pmapper-4.0/plugins/coordinates/projection.php on line 7

 I put here the configuration in config_default.xml

 coordinates
name=WGS mapPrj 84 / UTM zone roundTo=0 21S
/ MapPrj
name=longlat prj WGS84 roundTo=4
definition init = EPSG: 4326 / definition
/ Prj
name=UTM21 prj roundTo=0
definition init = EPSG: 31721 / definition
/ Prj
/ Coordinates


 Eduardo


 
 Español

 Acabo de habilitar el plugin cordinates en pmapper-4.0  y me da el
 siguiente error:

 PHP Fatal error:  [MapServer Error]: msProcessProjection(): projection
 not
 named
  in /var/www/pmapper-4.0/plugins/coordinates/projection.php on line 7

 Pongo aquí la configuracion  en el config_default.xml

 coordinates
mapPrj name=WGS 84 / UTM zone 21S roundTo=0
/mapPrj
prj name=longlat WGS84 roundTo=4
definitioninit=epsg:4326/definition
/prj
prj name=UTM21 roundTo=0
definitioninit=epsg:31721/definition
/prj
/coordinates

 Saludos
 Eduardo

 --
 Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
 Tap into the largest installed PC base  get more eyes on your game by
 optimizing for Intel(R) Graphics Technology. Get started today with the
 Intel(R) Software Partner Program. Five $500 cash prizes are up for
 grabs.
 http://p.sf.net/sfu/intelisp-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users





 --
 Edu




-- 
Edu
--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Error in Plugin

2010-11-25 Thread Eduardo Bieñkowski
Dears
Enable the plugin cordinate in pmapper-4.0,  and I get the following error:

PHP Fatal error: [MapServer Error]: msProcessProjection (): Not named
projection
 in / var/www/pmapper-4.0/plugins/coordinates/projection.php on line 7

I put here the configuration in config_default.xml

coordinates
name=WGS mapPrj 84 / UTM zone roundTo=0 21S
/ MapPrj
name=longlat prj WGS84 roundTo=4
definition init = EPSG: 4326 / definition
/ Prj
name=UTM21 prj roundTo=0
definition init = EPSG: 31721 / definition
/ Prj
/ Coordinates


Eduardo


Español

Acabo de habilitar el plugin cordinates en pmapper-4.0  y me da el
siguiente error:

PHP Fatal error:  [MapServer Error]: msProcessProjection(): projection not
named
 in /var/www/pmapper-4.0/plugins/coordinates/projection.php on line 7

Pongo aquí la configuracion  en el config_default.xml

coordinates
mapPrj name=WGS 84 / UTM zone 21S roundTo=0
/mapPrj
prj name=longlat WGS84 roundTo=4
definitioninit=epsg:4326/definition
/prj
prj name=UTM21 roundTo=0
definitioninit=epsg:31721/definition
/prj
/coordinates

Saludos
Eduardo
--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Session

2010-11-25 Thread Eduardo Bieñkowski
Guys
I have problems installing pmapper-4.0 in Ubuntu 10.10
When setting like this in the documentation on session.use_cookies = 0 does
not generate the maps, the drawing area is blank.
I set up the session.use_cookies = 1 in php.ini maps are generated but the
application does not refresh the screen, maintaining the session.
When trying to configure Apache using the Location or Directory directive
using php as apache module is the same.

Does not happen in ubuntu 10.04

I'm stuck at zero

-- 
Edu
--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Pmapper Error Projection

2010-11-18 Thread Eduardo Bieñkowski
Escribe texto o la dirección de un sitio web o traduce un
documentohttp://translate.google.com/?tr=fhl=es
.
Cancelar http://translate.google.com/?tr=thl=es
Escuchar
Dears
Enable the plugin cordinate in pmapper-4.0,  and I get the following error:

PHP Fatal error: [MapServer Error]: msProcessProjection (): Not named
projection
 in / var/www/pmapper-4.0/plugins/coordinates/projection.php on line 7

I put here the configuration in config_default.xml

coordinates
name=WGS mapPrj 84 / UTM zone roundTo=0 21S
/ MapPrj
name=longlat prj WGS84 roundTo=4
definition init = EPSG: 4326 / definition
/ Prj
name=UTM21 prj roundTo=0
definition init = EPSG: 31721 / definition
/ Prj
/ Coordinates


Eduardo


Español

Acabo de habilitar el plugin cordinates en pmapper-4.0  y me da el
siguiente error:

PHP Fatal error:  [MapServer Error]: msProcessProjection(): projection not
named
 in /var/www/pmapper-4.0/plugins/coordinates/projection.php on line 7

Pongo aquí la configuracion  en el config_default.xml

coordinates
mapPrj name=WGS 84 / UTM zone 21S roundTo=0
/mapPrj
prj name=longlat WGS84 roundTo=4
definitioninit=epsg:4326/definition
/prj
prj name=UTM21 roundTo=0
definitioninit=epsg:31721/definition
/prj
/coordinates

Saludos
Eduardo
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Labels align pmapper 4.0

2010-11-09 Thread Eduardo Bieñkowski
Zoltan:
Thank you very much, that was the solution to my problem.
Thanks again.
Best regards.
Eduardo


2010/11/8 Siki Zoltan s...@agt.bme.hu

 Hi Eduardo,

 You must use truetype font to rotate label.
 The default font is a bitmap font.
 It is a mapserver issue, not pmapper.
 See FONTSET, TYPE TRUETYPE in map file documentation.

 regards,
 Zoltan


 On Mon, 8 Nov 2010, Eduardo Bie?kowski wrote:

  ENGLISH:
 I have installed:
 Ubuntu 9.10
 Apache
 PHP 5.3
 Pmapper-4.0
 Postgres-8.4

 I have the following problem pmapper in a layer of lines (streets) I can
 not
 align the labels of the names.
 I put here what I have set in the mapfile.

 LABEL
 ENCODING UTF-8
 POSITION cc
 ANGLE auto
 300 MINDISTANCE
   COLOR 0,150,150
 BUFFER 1
 SIZE small
 END # Label

 But I still see all labels horizontally.
 My desire is to align the direction of the streets.


 ---

 ESPA?OL:


 Tengo instalado:
 Ubuntu 9.10
 Apache
 Php 5.3
 Pmapper-4.0
 Postgres-8.4

 Tengo el siguiente problema en pmapper, en una capa de lineas (calles) no
 puedo alinear las etiquetas de los nombres.
 Pongo aqui lo que tengo configurado en el mapfile.

 LABEL
   ENCODING UTF-8
   POSITION cc
   ANGLE auto
   MINDISTANCE 300
   COLOR 0 150 150
   BUFFER 1
   SIZE small
 END #Label

 Sin embargo sigo viendo todas labels en forma horizontal cuando en
 realidad
 quiero que se vean alineadas con las calles.

 --
 The Next 800 Companies to Lead America's Growth: New Video Whitepaper
 David G. Thomson, author of the best-selling book Blueprint to a
 Billion shares his insights and actions to help propel your
 business during the next growth cycle. Listen Now!
 http://p.sf.net/sfu/SAP-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




-- 
Edu
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] pmapper-users Digest, Vol 49, Issue 5

2010-10-21 Thread Eduardo Bieñkowski
Te comento como tengo yo una consulta similar y lo soluciones cambiando esta
línea:


definition type=suggest connectiontype=db minlength=2 startleft=0

por esta otra.
definition type=suggest connectiontype=ms minlength=3 startleft=0
sort=asc

En definitiva lo que cambie fue connectiontype de db a ms

Saludos
Eduardo

2010/10/21 Gustavo Insaurralde tavo.guan...@gmail.com

 Hi there,

 pmapper 4.1.0 here


 I´m trying to perform a query to a SQL Server

 But i receive this error on pm_error.log

 [21-Oct-2010 10:45:33] PHP Warning:  Suggest::require_once(MDB2.php) [a
 href='suggest.require-once'suggest.require-once/a]: failed to open
 stream: No such file or directory in
 C:\ms4w\apps\pmapper-4.0.0\incphp\query\suggest.php on line 129 

 I´ve installed PEAR, but there is no MDB2.php file anywhere on my ms4w
 folder...


 Also...
 is it possible to make a xml file that retrieves the query data to the
 suggest option?

 Because this is an inline search option, right?


 CODE:

searchlist version=1.0
dataroot$/dataroot
 searchitem name=inmuebles description=Inmuebles
  layer type=xy name=Layer
  field type=s name=inmuebles description=Plaats:   wildcard=0 
  definition type=suggest connectiontype=db minlength=2 startleft=0
 sort=asc dependfld=CATEGORY
  dsn encoding=UTF-8odbc://'':''/localh...@databasename/dsn
  sqlSELECT DISTINCT Adrema FROM INMUEBLES WHERE Adrema LIKE
 '[search]%'/sql
  /definition
  /field
  /layer
  /searchitem
/searchlist

 ---
 Gustavo Insaurralde
 Analista Programador en Sistemas
 Analista en Informática Aplicada
 Maestro Mayor de Obras

 --
 Nokia and ATT present the 2010 Calling All Innovators-North America
 contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
 marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




-- 
Edu
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Pmapper 4.0 and PHP 5.3 Error

2010-10-15 Thread Eduardo Bieñkowski
I have installed:
Ubuntu 9.10
Apache
PHP 5.2
Pmapper-4.0
Postgres-8.4
and I have no problems when I try to migrate the platform to
Ubuntu 9.10
Apache
PHP 5.3
Pmapper-4.0
Postgres-8.4
alleged problems arise with PHP5.3
pmapper error is:
Fatal error: Call to undefined function dl () in / srv / www / pmapper /
incphp / globals.php on line 51
Someone can help me fix this?


-- 
Edu
--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] links

2010-08-27 Thread Eduardo Bieñkowski
Friends
how I can add links to my query tables?
regards


-- 
Edu
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users