[mapserver-users] MY email address

2011-02-18 Thread Mustafa Noor
this is my email address.

noorc...@gmail.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] How i check Mapserver is installed or not ?

2011-02-18 Thread Mustafa646

I have installed MS4W (full) and choose port 8080 because on port 80 i have
already installed IIS7. Now installation of MS4W is successful , but how i
check ? I put http://localhost:8080/ in my browser, but i could not see the
page. 

any idea how to fix it ?  


-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/How-i-check-Mapserver-is-installed-or-not-tp6039430p6039430.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] How i check Mapserver is installed or not ?

2011-02-18 Thread Jeff McKenna

On 11-02-18 6:26 AM, Mustafa646 wrote:


I have installed MS4W (full) and choose port 8080 because on port 80 i have
already installed IIS7. Now installation of MS4W is successful , but how i
check ? I put http://localhost:8080/ in my browser, but i could not see the
page.

any idea how to fix it ?



Hello,

Please send your question to the MS4W mailing list and we can assist you 
there (subscribe at http://lists.maptools.org/mailman/listinfo/ms4w-users).


-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] How i check Mapserver is installed or not ?

2011-02-18 Thread Rahkonen Jukka
Hi,

In MS4W case your test is valid and  http://localhost:8080/ should show you the 
MS4W main web page.  Moreover, a better test to see if Mapserver CGI is found 
is to send  http://localhost:8080/cgi-bin/mapserv.exe It should return
No query information to decode. QUERY_STRING is set, but empty. 

Obviously your Apache is not running.  Two suggestions:
- Open a command window and run ms4w\apache-install.bat from there.  You may 
see some messages on the screen.
- If Apache does not start that way it can be because something prevents 
Windows to install Apache as a service. Try then to run is executable by 
opening a command window, going to ms4w\apache\bin and running httpd.exe. Look 
at the screen for error messages.


-Jukka Rahkonen-


 -Alkuperäinen viesti-
 Lähettäjä: mapserver-users-boun...@lists.osgeo.org 
 [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Mustafa646
 Lähetetty: 18. helmikuuta 2011 12:27
 Vastaanottaja: mapserver-users@lists.osgeo.org
 Aihe: [mapserver-users] How i check Mapserver is installed or not ?
 
 
 I have installed MS4W (full) and choose port 8080 because on 
 port 80 i have
 already installed IIS7. Now installation of MS4W is 
 successful , but how i
 check ? I put http://localhost:8080/ in my browser, but i 
 could not see the
 page. 
 
 any idea how to fix it ?  
 
 
 -- 
 View this message in context: 
 http://osgeo-org.1803224.n2.nabble.com/How-i-check-Mapserver-i
 s-installed-or-not-tp6039430p6039430.html
 Sent from the Mapserver - User mailing list archive at Nabble.com.
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users
 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Clip Raster with a Polygon

2011-02-18 Thread Rahkonen Jukka
Hi,
 
I have been thinking sometimes that there could be a huge polygon that is 
always drawn on top of the raster layer.  'Area of interest' polygons should be 
converted into holes in the mask polygon.  I have never tried it in practice, 
though.
 
-Jukka Rahkonen-




Lähettäjä: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Gabe Codina
Lähetetty: 18. helmikuuta 2011 7:05
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] Clip Raster with a Polygon



Hi

 

I would like to serve a raster layer that is spatially filtered - ie 
the raster should show through where it overlaps with 1 or more polygons.

 

Is mapserver capable of doing this ?

 

Gabe Codina

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] Clip Raster with a Polygon

2011-02-18 Thread Fawcett, David (MPCA)
I have done this with static mask images.  It wouldn't be hard to pass the ID 
of the feature that you want to be the 'hole' in the URL and then use that url 
variable in an expression for that layer/class .

David.

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Rahkonen Jukka
Sent: Friday, February 18, 2011 6:02 AM
To: Gabe Codina; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Clip Raster with a Polygon

Hi,

I have been thinking sometimes that there could be a huge polygon that is 
always drawn on top of the raster layer.  'Area of interest' polygons should be 
converted into holes in the mask polygon.  I have never tried it in practice, 
though.

-Jukka Rahkonen-


Lähettäjä: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Gabe Codina
Lähetetty: 18. helmikuuta 2011 7:05
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] Clip Raster with a Polygon
Hi

I would like to serve a raster layer that is spatially filtered - ie the raster 
should show through where it overlaps with 1 or more polygons.

Is mapserver capable of doing this ?

Gabe Codina

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Client-side applications for visualizing mapfiles

2011-02-18 Thread ΑΠΟΣΤΟΛΟΣ ΛΕΛΕΝΤΖΗΣ
Hello everybody

I am a new mapserver user and i need your knowledge and your experience.
I know that the heart of mapserver is the mapfile. Also, i can use html
files and templates fro visualizing the layers of mapfile in a web-browser.
But, i want a more interactive, flexible and quickly solution. Could you
suggest me anything??
I know that there are many client-side applications to rend WMS and WFS
servers like OpenLayers, Fusion, dbox, Chameleon, GMap, CartoWeb. However, i
would like a good explanation, regarding which is the best choice!
Moreover, i am grateful, if you send me some tutorial!!

Thanks in advance
Apostolos
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Clip Raster with a Polygon

2011-02-18 Thread Bob Basques

I've done some interesting things by setting a background color, and
then removing features (NOT these) by coloring them WHITE, which is then
converted to transparent, which then works like a mask. 

bobb 



 Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote:


Hi, 

  

I have been thinking sometimes that there could be a huge polygon that
is always drawn on top of the raster layer.  'Area of interest' polygons
should be converted into holes in the mask polygon.  I have never tried
it in practice, though. 

  

-Jukka Rahkonen- 





Lähettäjä: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Gabe Codina
Lähetetty: 18. helmikuuta 2011 7:05
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] Clip Raster with a Polygon



Hi 
  
I would like to serve a raster layer that is spatially filtered – ie
the raster should show through where it overlaps with 1 or more
polygons. 
  
Is mapserver capable of doing this ? 
  
Gabe Codina 
  
 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] TEMPLATE generation completion (NOT!)

2011-02-18 Thread Bob Basques

All, 

I've been chasing this one around for a day now. 

For some reason (might be a part of our funky configuration too, but ) a 
TEMPLATE FOOTER will not get pasted to the bottom of the output. 

The HEADER and RECORD values populate just fine, I have many (MANY) other 
layers in the same configuration that work just fine as well. 

My question, anyone got and ideas about why a FOOTER template chunk will not 
populate on a MapServer request? 


I've looked at: 

*  Permissions on the file (same as all others) 
*  Content of TEMPLATE chunk  (it only contains /imagemap ), I even 
recreated it a couple of times manually. 
*  I checked the mapfile (but everything else works, the legend, the image 
output, the HEADER and RECORD output . . . 
*  The data is even popping out in the IMAGEMAP correcrtly. 
* Moved around the map with different areas of interest, different numbers of 
returned records. 


Thanks  (from bewildered!!) 

bobb 


Here is the MAPFILE and TEMPLATES: 

MAP 
  NAME 'RSVP' 
  EXTENT 573387 162092 574211 162555 
  STATUS ON 
  SYMBOLSET inventory.symbols 
  FONTSET RESOURCES/inventory.fonts 

  TRANSPARENT TRUE 
  IMAGETYPE PNG 

  LAYER 
   METADATA 
ows_title Surface Class 
gml_include_items all 
qstring_validation_pattern . 
fido_search_items  
fido_search_titles  
   END 
   NAME 'SURFACE CLASS' 
   GROUP 'SURFACE CLASS' 
   DATA 'DATA/Surface_Class' 
   STATUS DEFAULT 
   TYPE POLYGON 
   CLASSITEM 'GRIDCODE' 

   CLASS 
NAME 'Tree Canopy' 
EXPRESSION /1/ 
COLOR 38 94 0 
OUTLINECOLOR 100 100 100 
   END  

   CLASS 
NAME 'Turf/Grass' 
EXPRESSION /2/ 
COLOR 203 214 139 
OUTLINECOLOR 100 100 100 
   END  

   CLASS 
NAME 'Bare Soil' 
EXPRESSION /3/ 
COLOR 168 112 0 
OUTLINECOLOR 100 100 100 
   END  

   CLASS 
NAME 'Water' 
EXPRESSION /4/ 
COLOR 151 219 242 
OUTLINECOLOR 100 100 100 
   END 

   CLASS 
NAME 'Buildings' 
EXPRESSION /5/ 
COLOR 92 43 0 
OUTLINECOLOR 100 100 100 
   END  

   CLASS 
NAME 'Impervious Surface' 
EXPRESSION /6/ 
COLOR 78 78 78 
OUTLINECOLOR 100 100 100 
   END 

   TEMPLATE './TEMPLATES/surface_class_record.xml' 
   HEADER './TEMPLATES/surface_class_header.xml' 
   FOOTER './TEMPLATES/surface_class_footer.xml' 

  END 

END 



 
Header 
 

?xml version=1.0? 

imagemap 
error message=[errmsg_esc]/ 

style name=Inventory 
title 
attr name=background value=black/ 
attr name=fontWeight value=bold/ 
attr name=color value=white/ 
/title 

contents 
attr name=background value=white/ 
/contents 
/style 



 
Record 
 
popup class=Inventory shape=poly coords=[shpxy xf=, proj=image],10  
ground=[shpxy] 
titleSurface Classification/title 
item title=Grid Code:[GRIDCODE]/item 
/popup 



 
Footer  -- (OUTPUT BREAKS HERE!!!) 
 
/imagemap 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] TEMPLATE generation completion (NOT!)

2011-02-18 Thread Lime, Steve D (DNR)
I would assume it's barfing before it even gets to the footer. Are you 
absolutely sure the surface class record is being processed completely for all 
search results?
If you break the footer name intentionally in the mapfile does MapServer 
complain?
Steve
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bob Basques
Sent: Friday, February 18, 2011 9:27 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] TEMPLATE generation completion (NOT!)


All,


I've been chasing this one around for a day now.


For some reason (might be a part of our funky configuration too, but ) a 
TEMPLATE FOOTER will not get pasted to the bottom of the output.


The HEADER and RECORD values populate just fine, I have many (MANY) other 
layers in the same configuration that work just fine as well.


My question, anyone got and ideas about why a FOOTER template chunk will not 
populate on a MapServer request?


I've looked at:


*  Permissions on the file (same as all others)

*  Content of TEMPLATE chunk  (it only contains /imagemap ), I even 
recreated it a couple of times manually.

*  I checked the mapfile (but everything else works, the legend, the image 
output, the HEADER and RECORD output . . .

*  The data is even popping out in the IMAGEMAP correcrtly.

* Moved around the map with different areas of interest, different numbers of 
returned records.


Thanks  (from bewildered!!)


bobb


Here is the MAPFILE and TEMPLATES:


MAP

  NAME 'RSVP'

  EXTENT 573387 162092 574211 162555

  STATUS ON

  SYMBOLSET inventory.symbols

  FONTSET RESOURCES/inventory.fonts


  TRANSPARENT TRUE

  IMAGETYPE PNG


  LAYER

   METADATA

ows_title Surface Class

gml_include_items all

qstring_validation_pattern .

fido_search_items 

fido_search_titles 

   END

   NAME 'SURFACE CLASS'

   GROUP 'SURFACE CLASS'

   DATA 'DATA/Surface_Class'

   STATUS DEFAULT

   TYPE POLYGON

   CLASSITEM 'GRIDCODE'


   CLASS

NAME 'Tree Canopy'

EXPRESSION /1/

COLOR 38 94 0

OUTLINECOLOR 100 100 100

   END


   CLASS

NAME 'Turf/Grass'

EXPRESSION /2/

COLOR 203 214 139

OUTLINECOLOR 100 100 100

   END


   CLASS

NAME 'Bare Soil'

EXPRESSION /3/

COLOR 168 112 0

OUTLINECOLOR 100 100 100

   END


   CLASS

NAME 'Water'

EXPRESSION /4/

COLOR 151 219 242

OUTLINECOLOR 100 100 100

   END


   CLASS

NAME 'Buildings'

EXPRESSION /5/

COLOR 92 43 0

OUTLINECOLOR 100 100 100

   END


   CLASS

NAME 'Impervious Surface'

EXPRESSION /6/

COLOR 78 78 78

OUTLINECOLOR 100 100 100

   END


   TEMPLATE './TEMPLATES/surface_class_record.xml'

   HEADER './TEMPLATES/surface_class_header.xml'

   FOOTER './TEMPLATES/surface_class_footer.xml'


  END


END





Header




?xml version=1.0?


imagemap

error message=[errmsg_esc]/


style name=Inventory

title

attr name=background value=black/

attr name=fontWeight value=bold/

attr name=color value=white/

/title


contents

attr name=background value=white/

/contents

/style





Record



popup class=Inventory shape=poly coords=[shpxy xf=, proj=image],10

ground=[shpxy]

titleSurface Classification/title

item title=Grid Code:[GRIDCODE]/item

/popup





Footer  -- (OUTPUT BREAKS HERE!!!)



/imagemap

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] QueryByAttribute sometimes not working

2011-02-18 Thread Bistrais, Bob
I'm having a strange problem with a queryByAttributes operation in a
MapServer application.  Most of the time it works correctly, but
sometimes it returns 0 results. 

 

It is querying a shapefile, if that gives a clue.

 

My first suspicion was the data wasn't matching the query expression.
But I checked and it appears to be correct.  To add to the confusion,
the application will sometimes select the queried feature, but not
always.  

 

Here is the query expression:

$query = ( ('[GEOCODE]' == '.$_SESSION['geocode'].')  ('[PLAN]' ==
'.$_SESSION['plan'].')  ('[LOT]' == '.$_SESSION['lot'].') );

 

And here is the execution of the query:

$oLayer _parcels-queryByAttributes(GEOCODE, $query, MS_SINGLE);

 

I echoed back the query statement, and it looks correct.

 

This one is pretty confusing.  Has anyone seen anything like this?

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] problem of legend icon for pixmap-filling type polygon layer

2011-02-18 Thread Lime, Steve D (DNR)
I can confirm the issue. Not sure what's going on but something's broken in the 
legend generation. I'll try and sum
things up and file a ticket against 5.6. We won't patch back to 5.0 for 
something like this.

As a workaround you might consider setting a KEYIMAGE in your class definition. 
Make it the same size as your legend
chips (usually something like 25x15) and that image will be used instead of 
creating one dynamically. I tried that 
here and it seems to work. You should be able to clip a section of a 
MapServer-created map out for this purpose.

Steve

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Isao NASUNO
Sent: Thursday, February 17, 2011 6:29 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] problem of legend icon for pixmap-filling type 
polygon layer

Hello Steve,

I am using gd-2.0.33, with MapServer 5.0.2.

Thank you,

Isao

(2011/02/18 6:54), Lime, Steve D (DNR) wrote:
 Which driver are you using (AGG or GD)? I'll run some tests here and report 
 back... Steve

 -Original Message-
 From: mapserver-users-boun...@lists.osgeo.org 
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Isao NASUNO
 Sent: Wednesday, February 16, 2011 11:20 PM
 To: mapserver-users@lists.osgeo.org
 Subject: [mapserver-users] problem of legend icon for pixmap-filling type 
 polygon layer

 Hello all,

 I had send same question 2 weeks ago but I have no response,
 so I try again with more detail of the problem.

 ** situation **

 I'm trying to make pixmap-filled polygon maps and I did it without problem,
 however a problem in getting legend.
 I want legend icons by mapserver cgi with request mode=legend like 
 following.

 (base pattern)(what I want)

oxoxoxoxoxox
xoxoxoxoxoxo
 oxox  oxoxoxoxoxox
 xoxo--xoxoxoxoxoxo

 However I get following. It is like a legend icon of line layer.

   oxoxoxox
  oxoxox  oxoxo
 oxoxoxoxoxoxo
oxoxo oxoxoxo
   oxoxo   oxoxo
   xoxoxoxo

 ** version **

 I'm using MapServer 5.0.2 on CentOS 5.2.
 I also try MapServer 5.6.x (forgot for detail), but the situation is same.


 ** what I did **

 The symbol is defined like ...
 -
SYMBOL
  NAME symbol1
  TYPE pixmap
  image /somewhere/symbol1.gif
  transparent 1
END
 -

 The layer is as following...
 -
layer
 name jimon
 connectiontype postgis
 connection user=db password=xxx dbname=DB host=localhost port=5432
 data the_geom from polygon
 status on
 type polygon
 classitem id
 projection
  init=epsg:4326
 end

 class
  name pattern1 
  expression 1
  style
symbol symbol1
  end
 end
   :
end
 -

 Could anyone please help me !?

 Isao
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] PHP version

2011-02-18 Thread David Hildebrand
I am running MapServer 5.3-dev (ms4w) and I'm wondering what version of
PHP is being shipped with that.  I'm trying to use PHP date functions
and they don't seem to work as documented so I'm wondering if I need to
look at different PHP documentation.  How can I find out the PHP
version?

 

Thanks.

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] PHP version

2011-02-18 Thread Jeff McKenna
For the record this person cross-posted this to multiple mailing lists, 
and responses were provided to the MS4W mailing list 
(http://osgeo-org.1803224.n2.nabble.com/Re-gdal-dev-libKML-driver-missing-tt6008579.html#a6040742)


-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




On 11-02-18 1:07 PM, David Hildebrand wrote:

I am running MapServer 5.3-dev (ms4w) and I’m wondering what version of
PHP is being shipped with that. I’m trying to use PHP date functions and
they don’t seem to work as documented so I’m wondering if I need to look
at different PHP documentation. How can I find out the PHP version?

Thanks.

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239

www.afsc.ca about:www.afsc.ca__http://www.afsc.ca http://www.afsc.ca/_
_This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this email.





___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] QueryByAttribute sometimes not working

2011-02-18 Thread Bistrais, Bob
After working with this a little more, I found another symptom-  Queries
on the layer work just fine when the application is loaded or refreshed.
But when I attempt a subsequent query on the layer, I get 0 results.
That suggests to me that the query, or layer, somehow needs to be
cleared.  Does anyone know how this can be done?  I don't see something
like a clearquery method.

 



From: Bistrais, Bob 
Sent: Friday, February 18, 2011 10:39 AM
To: mapserver-users
Subject: [mapserver-users] QueryByAttribute sometimes not working

 

I'm having a strange problem with a queryByAttributes operation in a
MapServer application.  Most of the time it works correctly, but
sometimes it returns 0 results. 

 

It is querying a shapefile, if that gives a clue.

 

My first suspicion was the data wasn't matching the query expression.
But I checked and it appears to be correct.  To add to the confusion,
the application will sometimes select the queried feature, but not
always.  

 

Here is the query expression:

$query = ( ('[GEOCODE]' == '.$_SESSION['geocode'].')  ('[PLAN]' ==
'.$_SESSION['plan'].')  ('[LOT]' == '.$_SESSION['lot'].') );

 

And here is the execution of the query:

$oLayer _parcels-queryByAttributes(GEOCODE, $query, MS_SINGLE);

 

I echoed back the query statement, and it looks correct.

 

This one is pretty confusing.  Has anyone seen anything like this?

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] RE: polygon tool

2011-02-18 Thread Shorthouse, David
Bob,

This may not be what you have in mind, but you're welcome to take a
peek at: http://bsc-localities.webhop.org/. Please note however that
this is a very interim service under development and the URL will most
certainly change. This was build in pure PHP MapScript and if you
would like the code, drop me a line; I haven't yet deposited it
anywhere.

Cheers,

David P. Shorthouse

On Fri, Feb 18, 2011 at 2:37 AM, Tom van der Putte t...@vdputte.nl wrote:
 Hi Bob,

 You could also try using Fusion, it also has a polygon tool in there, but
 again its based on Open Layers. I gues you can make your own, but you'd need
 some sort of framework that converts the drawn polygon to the location,
 projection and units that your basemap is in, for which openLayers is the
 perfect framework I think.

 Tom van der Putte


 From: mapserver-users-boun...@lists.osgeo.org
 [mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bistrais,
 Bob
 Sent: Thursday, February 17, 2011 8:18 AM
 To: mapserver-users
 Subject: [mapserver-users] polygon tool


 I am trying to create a polygon tool with PHP MapScript and JavaScript.
 I
 used to select map features. This kind of thing probably has been done
 before. Can anyone direct me to some code samples?



 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] MySQL Join

2011-02-18 Thread Michael Neimeyer
Hello all -

I am trying to do a Join from a shapefile to a MySQL table but I am getting
an internal error.  I am not interested in any spatial reference, I just
want to link up the shapefile to the MySQL table to reference data for the
identify service.  One thing I noticed is the templates for the JOIN are not
being recognized so that might be causing an issue.  I don't need to use the
JOIN templates as I plan on defining the columns in the Metadata reference.


Any idea why the JOIN might not be working for MySQL?  Is there a certain
version of MySQL that is needed for MapServer?

Thanks for your help!


Mike


*
---
*
*Mike Neimeyer
GIS Project Manager*
*GIS Rangers, LLC.
2434 Virginia Circle
Roseville, MN. 55113
(M) 612.695.7325
**m...@gisrangers.com* m...@gisrangers.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Client-side applications for visualizing mapfiles

2011-02-18 Thread Carlos Ruiz
Apostlolos,

If you just want to render mapfiles to learn how to configure a map file, 
there's an utility 
program called shp2img which takes a map file as input and produces the 
GIF/JPG/PNG output file.

Cheers from México

IC Carlos Ruiz


From: ΑΠΟΣΤΟΛΟΣ ΛΕΛΕΝΤΖΗΣ lelentzisaposto...@gmail.com
To: mapserver-users@lists.osgeo.org
Sent: Friday, February 18, 2011 8:35 AM
Subject: [mapserver-users] Client-side applications for visualizing mapfiles


Hello everybody

I am a new mapserver user and i need your knowledge and your experience.
I know that the heart of mapserver is the mapfile. Also, i can use html 
files and templates fro visualizing the layers of mapfile in a web-browser. 
But, i want a more interactive, flexible and quickly solution. Could you 
suggest me anything??
I know that there are many client-side applications to rend WMS and WFS 
servers like OpenLayers, Fusion, dbox, Chameleon, GMap, CartoWeb. 
However, i would like a good explanation, regarding which is the best choice!
Moreover, i am grateful, if you send me some tutorial!!

Thanks in advance
Apostolos 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


  ___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MySQL Join

2011-02-18 Thread Jeff McKenna

Hello Mike,

This news won't help you, but when I was testing and documenting 
MapServer joins I ran into the same mapserv crash with MySQL 5.1.49 on 
Windows (see the bottom of http://www.mapserver.org/mapfile/join.html); 
but at the time I assumed I was doing something wrong with MySQL.  Or it 
is possible that there is a problem here.  Do others have this same 
problem?  If yes, then we should file a MapServer ticket with a small 
test case.


-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




On 11-02-18 2:50 PM, Michael Neimeyer wrote:

Hello all -

I am trying to do a Join from a shapefile to a MySQL table but I am
getting an internal error.  I am not interested in any spatial
reference, I just want to link up the shapefile to the MySQL table to
reference data for the identify service.  One thing I noticed is the
templates for the JOIN are not being recognized so that might be causing
an issue.  I don't need to use the JOIN templates as I plan on defining
the columns in the Metadata reference.

Any idea why the JOIN might not be working for MySQL?  Is there a
certain version of MySQL that is needed for MapServer?

Thanks for your help!


Mike


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] township/range/section to boundary polygon

2011-02-18 Thread Xiaodong Zhang

Hi,

We need to develop an MapServer application requiring translating 
township/range/section into the boundary. Just wondering if any of you 
would like share how to use web service provided by NILS (National 
Integrated Land System, http://www.geocommunicator.gov)?


Thanks
Xiaodong

--

Xiaodong Zhang, Ph. D
Associate Professor
Department of Earth System Science and Policy
University of North Dakota
Tel: (701) 777-6087
http://www.und.edu/instruct/zhang

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] township/range/section to boundary polygon

2011-02-18 Thread Brent Fraser
Why not just download the shapefiles, or is it a specific requirement to 
use the service?


Best Regards,
Brent Fraser


On 2/18/2011 3:25 PM, Xiaodong Zhang wrote:

Hi,

We need to develop an MapServer application requiring translating 
township/range/section into the boundary. Just wondering if any of you 
would like share how to use web service provided by NILS (National 
Integrated Land System, http://www.geocommunicator.gov)?


Thanks
Xiaodong



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users