[mapserver-users] Does MapCache supports x-sendfile?

2013-06-07 Thread Jackey Cheung
Hi,

Just one short question, Does MapCache supports x-sendfile?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MapCache missing a service error

2013-06-04 Thread Jackey Cheung
Hi,

It's a server IP address. The web site hosted on that server can be
accessed well. And adding the service and request parameter to the URL
works too. What I'm wondering is that why I can't access
http://192.168.56.101/mapcache/demo/ as the document says.


On Tue, Jun 4, 2013 at 12:40 PM, Rahkonen Jukka
jukka.rahko...@mmmtike.fiwrote:

 Hi,

 In the Mapcache documentation the service in installed on the local
 computer so that after installation the demo page is found from address
 http://localhost/mapcache/demo/ which is the same as
 http://127.0.0.1/mapcache/demo/

 I saw from your previous mail that you were using another IP address for
 contacting your Mapcache, namely
 http://192.168.56.101/mapcache/ so I used that in my address. I do not
 know if that address is also your own computer or some other machine. If it
 is the same computer where your keyboard is connected then localhost and
 127.0.0.1 addresses should work as well.

 I have installed my Mapcache into port 8060 of my computer so for me the
 link to the list of demos is
 http://127.0.0.1:8060/mapcache/demo/ and in a browser it shows the page
 like this
 http://latuviitta.org/documents/mapcache_demo_start_page.png

 -Jukka Rahkonen-


 
 Jackey Cheung wrote:

  Dear Rahkonen,

  Thanks for your reply. It worked.

  However, I was following the online documentation on installing
 mapcache. The document says (
 http://mapserver.org/mapcache/install.html#table-of-contents):
  * In your web browser, goto the local MapCache demo page:
 http://127.0.0.1/mapcache/demo/ You should see a clickable list of demo
 links

  It that I've misunderstood?


 On Fri, May 31, 2013 at 12:49 PM, Rahkonen Jukka 
 jukka.rahko...@mmmtike.fimailto:jukka.rahko...@mmmtike.fi wrote:
 Hi,

 Great, then you have made it.  The message means that your URL connects
 Mapcache as WMS service but the message is missing the compulsory WMS
 parameters SERVICE and REQUEST because you only did

 http://192.168.56.101/mapcache/

 You will see the WMS 1.1.0 capabilities document by using

 http://192.168.56.101/mapcache?service=wmsversion=1.1.1request=GetCapabilities
 and you should be able to use your service and see the map layers as maps
 with some WMS client like OpenJUMP or QGis. If the demo is installed you
 can also test with http://192.168.56.101/mapcache/demo/wms


 -Jukka Rahkonen-





 
 Jackey Cheung wrote

  I'ved added the PATH_INFO to nginx location block, and using the sample
 mapcache.xml from the source package. Now it always returns

  received wms with no service and request


 On Tue, May 28, 2013 at 2:45 PM, Eichner, Andreas - SID-NLKM 
 andreas.eich...@sid.sachsen.demailto:andreas.eich...@sid.sachsen.de
 mailto:andreas.eich...@sid.sachsen.demailto:
 andreas.eich...@sid.sachsen.de wrote:

 You need to pass the path_info from nginx to mapcache. Use something like

   fastcgi_param PATH_INFO $fastcgi_path_info;

 in your location block.

  -Ursprüngliche Nachricht-
  Von: mapserver-users-boun...@lists.osgeo.orgmailto:
 mapserver-users-boun...@lists.osgeo.orgmailto:
 mapserver-users-boun...@lists.osgeo.orgmailto:
 mapserver-users-boun...@lists.osgeo.org
  [mailto:mapserver-users-boun...@lists.osgeo.orgmailto:
 mapserver-users-boun...@lists.osgeo.orgmailto:
 mapserver-users-boun...@lists.osgeo.orgmailto:
 mapserver-users-boun...@lists.osgeo.org] Im Auftrag
  von Jackey Cheung
  Gesendet: Dienstag, 28. Mai 2013 04:12
  An: mapserver-users@lists.osgeo.orgmailto:
 mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
 mailto:mapserver-users@lists.osgeo.org
  Betreff: [mapserver-users] MapCache missing a service error
 
  Hi,
 
  I'm trying to deploy a MapCache server. It compiles OK, but I
  can't tell whether everything is working fine, since I can't
  see any output from the server (command line and HTTP response, etc.)
 
  I've write up a config xml as below:
 
  ?xml version=1.0 encoding=UTF-8?
  mapcache
cache name=test_cache type=disk
  base/tmp/mapcache/base
  symlink_blank /
/cache
 
source name=test_lands type=wms
  getmap
params
   FORMATimage/png/FORMAT
   LAYERSBLD_BLDG/LAYERS
/params
  /getmap
  http
urlhttp://localhost/map//url
headers
  User-Agentmapcache/User-Agent
/headers
connection_timeout30/connection_timeout
  /http
/source
 
format name=PNG type =PNG
  compressionfast/compression
/format
default_formatPNG/default_format
 
tileset name=test_tileset
  sourcetest_lands/source
  cachetest_cache/cache
  grid restricted_extent=113.816929 22.135340 114.504470
  22.567942
WGS84
  /grid
  metadata
titletest web map./title
abstractPowered by MapKing./abstract
  /metadata
  formatPNG/format
  metatile10 10/metatile
  metabuffer10/metabuffer
/tileset
 
service type=wms

Re: [mapserver-users] MapCache missing a service error

2013-06-03 Thread Jackey Cheung
Dear Rahkonen,

Thanks for your reply. It worked.

However, I was following the online documentation on installing mapcache.
The document says (
http://mapserver.org/mapcache/install.html#table-of-contents):
* In your web browser, goto the local MapCache demo page:
http://127.0.0.1/mapcache/demo/ You should see a clickable list of demo
links

It that I've misunderstood?


On Fri, May 31, 2013 at 12:49 PM, Rahkonen Jukka
jukka.rahko...@mmmtike.fiwrote:

 Hi,

 Great, then you have made it.  The message means that your URL connects
 Mapcache as WMS service but the message is missing the compulsory WMS
 parameters SERVICE and REQUEST because you only did

 http://192.168.56.101/mapcache/

 You will see the WMS 1.1.0 capabilities document by using

 http://192.168.56.101/mapcache?service=wmsversion=1.1.1request=GetCapabilities
 and you should be able to use your service and see the map layers as maps
 with some WMS client like OpenJUMP or QGis. If the demo is installed you
 can also test with http://192.168.56.101/mapcache/demo/wms


 -Jukka Rahkonen-





 
 Jackey Cheung wrote

  I'ved added the PATH_INFO to nginx location block, and using the sample
 mapcache.xml from the source package. Now it always returns

  received wms with no service and request


 On Tue, May 28, 2013 at 2:45 PM, Eichner, Andreas - SID-NLKM 
 andreas.eich...@sid.sachsen.demailto:andreas.eich...@sid.sachsen.de
 wrote:

 You need to pass the path_info from nginx to mapcache. Use something like

   fastcgi_param PATH_INFO $fastcgi_path_info;

 in your location block.

  -Ursprüngliche Nachricht-
  Von: mapserver-users-boun...@lists.osgeo.orgmailto:
 mapserver-users-boun...@lists.osgeo.org
  [mailto:mapserver-users-boun...@lists.osgeo.orgmailto:
 mapserver-users-boun...@lists.osgeo.org] Im Auftrag
  von Jackey Cheung
  Gesendet: Dienstag, 28. Mai 2013 04:12
  An: mapserver-users@lists.osgeo.orgmailto:
 mapserver-users@lists.osgeo.org
  Betreff: [mapserver-users] MapCache missing a service error
 
  Hi,
 
  I'm trying to deploy a MapCache server. It compiles OK, but I
  can't tell whether everything is working fine, since I can't
  see any output from the server (command line and HTTP response, etc.)
 
  I've write up a config xml as below:
 
  ?xml version=1.0 encoding=UTF-8?
  mapcache
cache name=test_cache type=disk
  base/tmp/mapcache/base
  symlink_blank /
/cache
 
source name=test_lands type=wms
  getmap
params
   FORMATimage/png/FORMAT
   LAYERSBLD_BLDG/LAYERS
/params
  /getmap
  http
urlhttp://localhost/map//url
headers
  User-Agentmapcache/User-Agent
/headers
connection_timeout30/connection_timeout
  /http
/source
 
format name=PNG type =PNG
  compressionfast/compression
/format
default_formatPNG/default_format
 
tileset name=test_tileset
  sourcetest_lands/source
  cachetest_cache/cache
  grid restricted_extent=113.816929 22.135340 114.504470
  22.567942
WGS84
  /grid
  metadata
titletest web map./title
abstractPowered by MapKing./abstract
  /metadata
  formatPNG/format
  metatile10 10/metatile
  metabuffer10/metabuffer
/tileset
 
service type=wms enabled=true
  full_wmsassemble/full_wms
  resample_modebilinear/resample_mode
  formatPNG/format
  maxsize4096/maxsize
/service
service type=wmts enabled=false/
service type=tms enabled=false/
service type=kml enabled=false/
service type=gmaps enabled=false/
service type=ve enabled=false/
service type=demo enabled=false/
 
errorsreport/errors
lock_dir/tmp/mapcache/lock/lock_dir
threaded_fetchingtrue/threaded_fetching
log_levelinfo/log_level
auto_reloadtrue/auto_reload
  /mapcache
 
 
  I use spawn-fcgi to start the server:
  spawn-fcgi -M 666 -s /var/run/mapcache.sock -n -u nginx -g
  nginx -U nginx -G nginx -P /var/run/mapcache.pid --
  /usr/local/bin/mapcache
 
  The server seems to be running, since it doesn't return to
  the command prompt. When I use browser to open
  http://192.168.56.101/mapcache/;, the first request (the
  exact first request to the newly started server process) returns:
  tileset test_tileset references grid 
WGS84
  , but it is not configured
 
  Then all subsequent requests returns missing a service error.
  I've tried adding a WGS84 grid to the xml, but that produces
  duplicate declaration error. I've also tried using the
  mapcache.xml from source package, the same missing a
  service error occurs.
  What's wrong?
 

 ___
 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

Re: [mapserver-users] MapCache missing a service error

2013-05-30 Thread Jackey Cheung
I'ved added the PATH_INFO to nginx location block, and using the sample
mapcache.xml from the source package. Now it always returns

received wms with no service and request



On Tue, May 28, 2013 at 2:45 PM, Eichner, Andreas - SID-NLKM 
andreas.eich...@sid.sachsen.de wrote:


 You need to pass the path_info from nginx to mapcache. Use something like

   fastcgi_param PATH_INFO $fastcgi_path_info;

 in your location block.

  -Ursprüngliche Nachricht-
  Von: mapserver-users-boun...@lists.osgeo.org
  [mailto:mapserver-users-boun...@lists.osgeo.org] Im Auftrag
  von Jackey Cheung
  Gesendet: Dienstag, 28. Mai 2013 04:12
  An: mapserver-users@lists.osgeo.org
  Betreff: [mapserver-users] MapCache missing a service error
 
  Hi,
 
  I'm trying to deploy a MapCache server. It compiles OK, but I
  can't tell whether everything is working fine, since I can't
  see any output from the server (command line and HTTP response, etc.)
 
  I've write up a config xml as below:
 
  ?xml version=1.0 encoding=UTF-8?
  mapcache
cache name=test_cache type=disk
  base/tmp/mapcache/base
  symlink_blank /
/cache
 
source name=test_lands type=wms
  getmap
params
   FORMATimage/png/FORMAT
   LAYERSBLD_BLDG/LAYERS
/params
  /getmap
  http
urlhttp://localhost/map//url
headers
  User-Agentmapcache/User-Agent
/headers
connection_timeout30/connection_timeout
  /http
/source
 
format name=PNG type =PNG
  compressionfast/compression
/format
default_formatPNG/default_format
 
tileset name=test_tileset
  sourcetest_lands/source
  cachetest_cache/cache
  grid restricted_extent=113.816929 22.135340 114.504470
  22.567942
WGS84
  /grid
  metadata
titletest web map./title
abstractPowered by MapKing./abstract
  /metadata
  formatPNG/format
  metatile10 10/metatile
  metabuffer10/metabuffer
/tileset
 
service type=wms enabled=true
  full_wmsassemble/full_wms
  resample_modebilinear/resample_mode
  formatPNG/format
  maxsize4096/maxsize
/service
service type=wmts enabled=false/
service type=tms enabled=false/
service type=kml enabled=false/
service type=gmaps enabled=false/
service type=ve enabled=false/
service type=demo enabled=false/
 
errorsreport/errors
lock_dir/tmp/mapcache/lock/lock_dir
threaded_fetchingtrue/threaded_fetching
log_levelinfo/log_level
auto_reloadtrue/auto_reload
  /mapcache
 
 
  I use spawn-fcgi to start the server:
  spawn-fcgi -M 666 -s /var/run/mapcache.sock -n -u nginx -g
  nginx -U nginx -G nginx -P /var/run/mapcache.pid --
  /usr/local/bin/mapcache
 
  The server seems to be running, since it doesn't return to
  the command prompt. When I use browser to open
  http://192.168.56.101/mapcache/;, the first request (the
  exact first request to the newly started server process) returns:
  tileset test_tileset references grid 
WGS84
  , but it is not configured
 
  Then all subsequent requests returns missing a service error.
  I've tried adding a WGS84 grid to the xml, but that produces
  duplicate declaration error. I've also tried using the
  mapcache.xml from source package, the same missing a
  service error occurs.
  What's wrong?
 

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


[mapserver-users] MapCache missing a service error

2013-05-27 Thread Jackey Cheung
Hi,

I'm trying to deploy a MapCache server. It compiles OK, but I can't tell
whether everything is working fine, since I can't see any output from the
server (command line and HTTP response, etc.)

I've write up a config xml as below:

?xml version=1.0 encoding=UTF-8?
mapcache
  cache name=test_cache type=disk
base/tmp/mapcache/base
symlink_blank /
  /cache

  source name=test_lands type=wms
getmap
  params
 FORMATimage/png/FORMAT
 LAYERSBLD_BLDG/LAYERS
  /params
/getmap
http
  urlhttp://localhost/map//url
  headers
User-Agentmapcache/User-Agent
  /headers
  connection_timeout30/connection_timeout
/http
  /source

  format name=PNG type =PNG
compressionfast/compression
  /format
  default_formatPNG/default_format

  tileset name=test_tileset
sourcetest_lands/source
cachetest_cache/cache
grid restricted_extent=113.816929 22.135340 114.504470 22.567942
  WGS84
/grid
metadata
  titletest web map./title
  abstractPowered by MapKing./abstract
/metadata
formatPNG/format
metatile10 10/metatile
metabuffer10/metabuffer
  /tileset

  service type=wms enabled=true
full_wmsassemble/full_wms
resample_modebilinear/resample_mode
formatPNG/format
maxsize4096/maxsize
  /service
  service type=wmts enabled=false/
  service type=tms enabled=false/
  service type=kml enabled=false/
  service type=gmaps enabled=false/
  service type=ve enabled=false/
  service type=demo enabled=false/

  errorsreport/errors
  lock_dir/tmp/mapcache/lock/lock_dir
  threaded_fetchingtrue/threaded_fetching
  log_levelinfo/log_level
  auto_reloadtrue/auto_reload
/mapcache


I use spawn-fcgi to start the server:
spawn-fcgi -M 666 -s /var/run/mapcache.sock -n -u nginx -g nginx -U nginx
-G nginx -P /var/run/mapcache.pid -- /usr/local/bin/mapcache

The server seems to be running, since it doesn't return to the command
prompt. When I use browser to open http://192.168.56.101/mapcache/;, the
first request (the exact first request to the newly started server process)
returns:

tileset test_tileset references grid 
  WGS84
, but it is not configured


Then all subsequent requests returns missing a service error.

I've tried adding a WGS84 grid to the xml, but that produces duplicate
declaration error. I've also tried using the mapcache.xml from source
package, the same missing a service error occurs.

What's wrong?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MapCache missing a service error

2013-05-27 Thread Jackey Cheung
Hi Stephen,

Thanks for your reply. I've tried but the error still exists.


On Tue, May 28, 2013 at 10:36 AM, Stephen Woodbridge 
wood...@swoodbridge.com wrote:

 Jackey,

 Try changing:


  grid restricted_extent=113.816929 22.135340 114.504470 22.567942
WGS84
  /grid

 to:


  grid restricted_extent=113.816929 22.135340 114.504470
 22.567942WGS84/grid

 Remove the white spaces. If that fixes the problem, please write a bug on
 on this.

 Thanks,
   -Steve W


 On 5/27/2013 10:12 PM, Jackey Cheung wrote:

 Hi,

 I'm trying to deploy a MapCache server. It compiles OK, but I can't tell
 whether everything is working fine, since I can't see any output from
 the server (command line and HTTP response, etc.)

 I've write up a config xml as below:

 ?xml version=1.0 encoding=UTF-8?
 mapcache
cache name=test_cache type=disk
  base/tmp/mapcache/base
  symlink_blank /
/cache
source name=test_lands type=wms
  getmap
params
   FORMATimage/png/FORMAT
   LAYERSBLD_BLDG/LAYERS
/params
  /getmap
  http
urlhttp://localhost/map//**url
headers
  User-Agentmapcache/User-**Agent
/headers
connection_timeout30/**connection_timeout
  /http
/source
format name=PNG type =PNG
  compressionfast/**compression
/format
default_formatPNG/default_**format
tileset name=test_tileset
  sourcetest_lands/source
  cachetest_cache/cache
  grid restricted_extent=113.816929 22.135340 114.504470 22.567942
WGS84
  /grid
  metadata
titletest web map./title
abstractPowered by MapKing./abstract
  /metadata
  formatPNG/format
  metatile10 10/metatile
  metabuffer10/metabuffer
/tileset

service type=wms enabled=true
  full_wmsassemble/full_wms
  resample_modebilinear/**resample_mode
  formatPNG/format
  maxsize4096/maxsize
/service
service type=wmts enabled=false/
service type=tms enabled=false/
service type=kml enabled=false/
service type=gmaps enabled=false/
service type=ve enabled=false/
service type=demo enabled=false/
errorsreport/errors
lock_dir/tmp/mapcache/lock/**lock_dir
threaded_fetchingtrue/**threaded_fetching
log_levelinfo/log_level
auto_reloadtrue/auto_**reload
 /mapcache


 I use spawn-fcgi to start the server:
 spawn-fcgi -M 666 -s /var/run/mapcache.sock -n -u nginx -g nginx -U
 nginx -G nginx -P /var/run/mapcache.pid -- /usr/local/bin/mapcache

 The server seems to be running, since it doesn't return to the command
 prompt. When I use browser to open 
 http://192.168.56.101/**mapcache/http://192.168.56.101/mapcache/
 ,
 the first request (the exact first request to the newly started server
 process) returns:

 tileset test_tileset references grid 
WGS84
  , but it is not configured


 Then all subsequent requests returns missing a service error.

 I've tried adding a WGS84 grid to the xml, but that produces duplicate
 declaration error. I've also tried using the mapcache.xml from source
 package, the same missing a service error occurs.

 What's wrong?



 __**_
 mapserver-users mailing list
 mapserver-users@lists.osgeo.**org mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/**mailman/listinfo/mapserver-**usershttp://lists.osgeo.org/mailman/listinfo/mapserver-users


 __**_
 mapserver-users mailing list
 mapserver-users@lists.osgeo.**org mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/**mailman/listinfo/mapserver-**usershttp://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] STYLEITEM AUTO or similar for other connection types?

2013-05-23 Thread Jackey Cheung
Hi all,

Just a short question, does the STYLEITEM supported only for OGR?

Say I have a column that stores OGR style definitions in Oracle. Must I use
OGR connection type to utilize those styles? I've tried use ORACLESPATIAL,
but can't seem to use those styles.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] STYLEITEM AUTO or similar for other connection types?

2013-05-23 Thread Jackey Cheung
Hi Tamas,

Thanks for your reply. I've made the OGR part right, and can generate maps.

However, the work I have on hand is not satisfied yet. Basically, the
project uses MapInfo+Oracle. So in order to make it work on both MapInfo
and MapServer, I have to populate two style columns, MI_STYLE populated by
MapInfo automatically, and the OGR_STYLE populated by hand or extra program
(or script). I have used ogr2ogr to convert data originally. But ogr2ogr
can only populate the OGR_STYLE column. Whilst MapInfo can only populate
the MI_STYLE column. I still figuring out a solution to this.


On Thu, May 23, 2013 at 4:39 PM, Tamas Szekeres szeker...@gmail.com wrote:

 Hi,

 Assuming the style definition exists in OGR style format or in MapServer
 STYLE or CLASS definitions, you can use STYLEITEM attributename which
 should work with all drivers (not just with OGR)

 When using the OGR driver (and not using the MapInfo driver), you should
 use OGR_STYLE as the attribute name to have the feature style set up by OGR
 automatically. In this case the style attribute should contain OGR style
 strings.


 Best regards,

 Tamas



 2013/5/23 Jackey Cheung cheung.jac...@gmail.com

 Hi all,

 Just a short question, does the STYLEITEM supported only for OGR?

 Say I have a column that stores OGR style definitions in Oracle. Must I
 use OGR connection type to utilize those styles? I've tried use
 ORACLESPATIAL, but can't seem to use those styles.

 ___
 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] ORACLE_HOME problem when using spawn-fcgi + mapserver

2013-05-22 Thread Jackey Cheung
Hi,

I'm setting up a nginx + spawn-fcgi + mapserver centos box.I've installed
everything. The web site (nginx) is working, Oracle is working fine and
returning spatial data, shp2img generates pictures from Oracle data well,
and everything just seem working well. Unless I put them all together.

Requesting map image from the box in browser and I get this:
msDrawMap(): Image handling error. Failed to draw layer named 'BLD_BLDG'.
msOracleSpatialLayerOpen(): OracleSpatial error. Cannot create OCI
Handlers. Connection failure. Check the connection string. Error: .

I've tried strace and checked the oracle trace log, and found this in the
oracle log:
msg time='2013-05-22T14:15:00.181+08:00' org_id='oracle' comp_id='clients'
 type='UNKNOWN' level='16' host_id='55.gz.rd.mapking.com'
 host_addr='127.0.0.1'
 txtUnable to find environment variable: ORACLE_HOME
 /txt
/msg

I've change the mapserver process to use oracle user, and I've then checked
the spawn-fcgi process environment at /proc/ directory and see that there
are variables in it. I've even tried adding ORACLE_HOME variable to
/etc/profile, but still can't get it working.

What is wrong? Or what have I missed?

P.S. I could have post the whole strace log here, but it's too long so if
anyone really need it to get a clue, just give a mail to me.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] ORACLE_HOME problem when using spawn-fcgi + mapserver

2013-05-22 Thread Jackey Cheung
Thanks for your reply. Nginx doesn't have control on that. I've set the
environment variable in spawn-fcgi (mapserver) startup script right from
the beginning, and it's always there. As I said, I've checked spawn-fcgi's
process environment, and can see the ORACLE_HOME is there.


On Wed, May 22, 2013 at 8:14 PM, richard.suema...@syncadd.com 
richard.suema...@syncadd.com wrote:

  I could be wrong but I believe /etc/profile is only loaded when you
 spawn a shell. You can try force the issue and set the oracle home in your
 startup script for nginx and work backwards from there.

 Sent from my iPhone

 On May 22, 2013, at 1:38 AM, Jackey Cheung cheung.jac...@gmail.com
 wrote:

   Hi,

  I'm setting up a nginx + spawn-fcgi + mapserver centos box.I've
 installed everything. The web site (nginx) is working, Oracle is working
 fine and returning spatial data, shp2img generates pictures from Oracle
 data well, and everything just seem working well. Unless I put them all
 together.

  Requesting map image from the box in browser and I get this:
 msDrawMap(): Image handling error. Failed to draw layer named 'BLD_BLDG'.
 msOracleSpatialLayerOpen(): OracleSpatial error. Cannot create OCI
 Handlers. Connection failure. Check the connection string. Error: .

  I've tried strace and checked the oracle trace log, and found this in
 the oracle log:
  msg time='2013-05-22T14:15:00.181+08:00' org_id='oracle'
 comp_id='clients'
  type='UNKNOWN' level='16' host_id='55.gz.rd.mapking.com'
  host_addr='127.0.0.1'
  txtUnable to find environment variable: ORACLE_HOME
  /txt
 /msg

  I've change the mapserver process to use oracle user, and I've then
 checked the spawn-fcgi process environment at /proc/ directory and see that
 there are variables in it. I've even tried adding ORACLE_HOME variable to
 /etc/profile, but still can't get it working.

  What is wrong? Or what have I missed?

  P.S. I could have post the whole strace log here, but it's too long so
 if anyone really need it to get a clue, just give a mail to me.

  ___
 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] [TinyOWS] Plan/milestone for supporting Oracle Spatial?

2012-09-13 Thread Jackey Cheung
I've just found out that TinyOWS doesn't support Oracle Spatial, while
doing researching on it.

Is there any (confirmed) plan on when will it be done? Possibly through
GDAL/OGR?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Python MapScript compile error

2012-07-04 Thread Jackey Cheung
Hi all,

Not sure if i've done anything wrong. I've met the Unknown option: -a
while compiling Python MapScript.

MapServer: Git trunk, CentOS 6 box running on Intel Pentium D.
./configure --with-wms --with-wfs --with-curl --with-jpeg --with-freetype
--with-png --with-threads --with-postgis --with-xml2 --with-libiconv
--with-proj --with-ogr --with-gdal --with-cairo --with-ftgl --with-opengl
--with-threads --with-geos --with-postgis --with-mysql --with-wmsclient
--with-wfsclient --with-sos --with-wcs --with-curl --with-kml
--with-xml-mapfile --with-xslt --with-fastcgi --with-exempi
--with-fribidi-config --with-zlib --with-gd --with-postgis --with-mysql
--with-php --with-libsvg-cairo --enable-fast-nint --enable-proj-fastpath
--enable-point-z-m --enable-python-mapscript

Although I don't need all these features yet, I've decided to test
compiling all of them in case I need them in future. Configure went well,
and finished with everything. But while compiling Python:
cd mapscript/python; make;
make[1]: Entering directory
`/home/jackey.cheung/mapserver-6.2.0-beta1/mapscript/python'
python -shadow -modern -templatereduce -fastdispatch -fvirtual -fastproxy
-modernargs -castmode -dirvtable -fastinit -fastquery -noproxydel
-nobuildnone -DUSE_PROJ_FASTPATHS  -DUSE_POINT_Z_M  -DUSE_FASTCGI
-DUSE_SVG_CAIRO -DUSE_CAIRO -DUSE_FRIBIDI -DUSE_FRIBIDI2 -DUSE_EXSLT
-DUSE_XSLT -DUSE_XMLMAPFILE -DUSE_WMS_LYR -DUSE_WFS_LYR -DUSE_SOS_SVR
-DUSE_LIBXML2 -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH -DUSE_KML -DUSE_EXEMPI
-DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR  -DUSE_MYSQL -DUSE_POSTGIS
-DPOSTGIS_HAS_SERVER_VERSION -DUSE_GDAL -DUSE_OGR -DUSE_GEOS
 -DHAVE_SYNC_FETCH_AND_ADD -DUSE_THREAD -DUSE_PROJ -DUSE_OGL -DUSE_FTGL
 -DUSE_GD  -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_GIF -DUSE_ICONV -DUSE_JPEG
-DUSE_GIF -DUSE_PNG -DUSE_FREETYPE -DHAVE_VSNPRINTF -DNEED_STRLCPY
-DNEED_STRLCAT -DNEED_STRRSTR   -DDISABLE_CVSID -o mapscript_wrap.c
../mapscript.i
Unknown option: -a
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.

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


[mapserver-users] File size of generated PNG

2012-06-08 Thread Jackey Cheung
Some background first. I'm currently using MapServer + TileCache, and
planning to try out the new MapCache stuff. While using MS+TC, there was a
headache bothers me. Although not specific to MS, I'm not sure where to
start, so posting here in hope of getting some pointers.

The problem is the file size of PNG images genereated by MS. They are
relatively much larger than we want. Now we have one lengthy process that
runs stuffs like pngcrush after seeded a cache with TC. This is a painfully
lengthy proccess, which takes months to finish due to the coverage of map.

Just wondering, how to make MS generates minimum size PNG, or how to make
TC to slice images with minimum file size? Or is using post-process the
only way to achieve it? We are not talking about the absolute minimum, just
want to have the smallest size in average.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Labeling behavior at the edge of image

2012-01-19 Thread Jackey Cheung
Hi all,

I've met an issue during my work. There is a polygon right at the edge
of an generated image. By setting position to auto, the label is
rendered, shifted a little bit off. It's as expected I would say.
However, a question arose immediately, what happen to the label of the
other part of the same polygon in the tile right next to this image?
Answer is that it's not render, no label to the other part. It seems
reasonable too. But it does seems a bit odd to viewers, since after
tiles are shown on a browser tile by tile side by side. No one will
notice that there is the edge slicing the polygon right into two
parts, and the label is shifted off from the center of the polygon.
So, if I would like to have the label sits right at the middle
(position cc) of the polygon, then what?

Not sure if it can be achieved. I've tried allowing partial label, but
doesn't seem working. Anyone have any idea?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Why failed to hard wrap labels?

2011-12-14 Thread Jackey Cheung
Hi all,


I have met a weird situation while using hard wraps on labels. I
haven't tried on English labels, the same wrapping setting yields
different results when applied to Chinese labels. It's not the first
time i have met this problem, nor the sending mail here. This time I
have made a test case.

Attached is a map file for testing, and its output (cropped). In the
output image, you can see the there is a single-line label at the
upper left corner, while another wrapped label at the lower right.
Both labels are set to hard wrapping on the fourth character
(MAXLENGTH -4). However, only the longer one seems wrapped correctly.

Since the font displaying is not important here, i have not attached
the font used here.

Below are two more strings for testing, one can just replace the TEXT
with them. In case anyone curious enough, the first 6 characters in
the second string are exactly the same as the first string.
船湾郊野公园
船湾郊野公园 (扩建部份)
attachment: testwrap.png

testwrap.map
Description: Binary data
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Why failed to hard wrap labels?

2011-12-14 Thread Jackey Cheung
I've filed a new ticket

http://trac.osgeo.org/mapserver/ticket/4125

Thanks.


On Wed, Dec 14, 2011 at 7:09 PM, thomas bonfort
thomas.bonf...@gmail.com wrote:
 Jackey,
 I have reproduced your issue and confirm it's a bug. Please open a
 ticket for this and I will fix it asap.

 regards,
 thomas

 On Wed, Dec 14, 2011 at 11:46, Jackey Cheung cheung.jac...@gmail.com wrote:
 Hi all,


 I have met a weird situation while using hard wraps on labels. I
 haven't tried on English labels, the same wrapping setting yields
 different results when applied to Chinese labels. It's not the first
 time i have met this problem, nor the sending mail here. This time I
 have made a test case.

 Attached is a map file for testing, and its output (cropped). In the
 output image, you can see the there is a single-line label at the
 upper left corner, while another wrapped label at the lower right.
 Both labels are set to hard wrapping on the fourth character
 (MAXLENGTH -4). However, only the longer one seems wrapped correctly.

 Since the font displaying is not important here, i have not attached
 the font used here.

 Below are two more strings for testing, one can just replace the TEXT
 with them. In case anyone curious enough, the first 6 characters in
 the second string are exactly the same as the first string.
 船湾郊野公园
 船湾郊野公园 (扩建部份)

 ___
 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] GAP problem on MapServer 6.0.1

2011-11-11 Thread Jackey Cheung
Dear Stephen,

We've checked that vertices of line are not coincide. Please check the
attached MapInfo file. It's the problematic part taken out from the
original map.


On Fri, Nov 11, 2011 at 9:47 AM, Stephen Woodbridge
wood...@swoodbridge.com wrote:
 Jackey,

 I have seen this problem before and I think it is related to the fact that
 you might have coincident points in your line. For example if the first and
 second point in the linestring have the same value. This causes problems
 when we try to compute the heading for that segment. If you want me to check
 on that for you then send me a zip of the shapefile with just the bad line
 in it.

 If this is the case, we should probably write a bug ticket for this case.

 -Steve

 On 11/10/2011 8:03 PM, Jackey Cheung wrote:

 Thanks for your comment, Havard Tveite.

 As you suspected, the strange position (and also redundant) of arrows
 is problem in figure 1. Since there is only one line there, we expect
 only one set of (around 2~3) arrows were rendered. We can't figure out
 why there are redundant arrows rendered at strange positions. The
 expected outcome is only 2~3 arrows shall be rendered right around the
 center of the line.



 On Thu, Nov 10, 2011 at 4:49 PM, Havard Tveitehavard.tve...@umb.no
  wrote:

 Dear Jackey Cheung,

 I am not sure what exactly you are trying to achieve.
 Your arrows seem to point in the direction of the lines.
 The topmost arrow in figure 1 is placed at a strange
 position - is that the problem?

 Some comments:

 The result shown in image 2 is expected.  The arrow
 symbols are in this case placed at the start points of
 the lines according to the centre point of the symbol's
 bounding rectangle (except 0,0 is always taken as the
 upper left corner of the bounding rectangle).
 When using a negative GAP, the direction of the symbol
 is the direction of the line at the (end)point.
 In version 6.2, ANCHORPOINT is introduced to make it
 possible to specify a different anchor point for the
 symbol (http://mapserver.org/trunk/mapfile/symbol.html).

 The centre point of the bounding box of your arrow_right
 symbol will be at (17.5,7) in the symbol's coordinate
 system, so the arrows will be placed somewhat shifted to
 the right (in the direction of the arrow).
 In 6.0, if you want the ends of the arrows to be aligned
 with the start of the lines (when using geomtransform
 start), you could use the following symbol:

 SYMBOL
  NAME arrow_right_shift
  TYPE VECTOR
  POINTS
    30 6
    52 6
    50 0
    60 7 # why 7.5?
    50 14
    52 8
    30 8
    30 6
  END
  FILLED TRUE
 END

 In 6.2, you will be able to specify this using
 ANCHORPOINT 1 0.5


 Håvard

 On 11/10/2011 06:35 AM, Jackey Cheung wrote:

 Hi all,

 We are trying to render line direction on 6.0.1. However, there are
 something weird with it.


 SYMBOL
   NAME                 arrow_right
   TYPE VECTOR
   POINTS
     5 6
     27 6
     25 0
     35 7.5
     25 14
     27 8
     5 8
     5 6
   END
   FILLED  TRUE
 END


 LAYER
   NAME              traffic_direction
   STATUS            DEFAULT
   TYPE              LINE
   MAXSCALEDENOM     5000

   CONNECTIONTYPE    POSTGIS
   PROCESSING        CLOSE_CONNECTION=DEFER
   CONNECTION        host=xxx dbname=*** user=xx
 password=
   DATA              geom FROM view_render_traffic_direction USING
 UNIQUE oid USING SRID=4326

   CLASS
     NAME            Traffic Direction
     STYLE
       ANGLE         AUTO
       SYMBOL        arrow_right
       SIZE          6
       COLOR         0 0 250
       GAP           -200
       #GEOMTRANSFORM start
     END
   END
 END


 The layer above is rendered as 1.PNG. We've checked that there are
 only one line (ring) there, but arrows are rendered problematic.
 Then we've tried to change GEOMTRANSFORM to start or end, then
 rings seem OK, but all arrows at intersections got crossed, as 2.PNG.
 We've also tried to use OFFSET and GAP with positive and negative
 combinations, but none can solve the problem.

 Can anyone shed some light for us? Thanks in advance.

 ___
 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



testdir.7z
Description: Binary data
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] GAP problem on MapServer 6.0.1

2011-11-10 Thread Jackey Cheung
Thanks for your comment, Havard Tveite.

As you suspected, the strange position (and also redundant) of arrows
is problem in figure 1. Since there is only one line there, we expect
only one set of (around 2~3) arrows were rendered. We can't figure out
why there are redundant arrows rendered at strange positions. The
expected outcome is only 2~3 arrows shall be rendered right around the
center of the line.



On Thu, Nov 10, 2011 at 4:49 PM, Havard Tveite havard.tve...@umb.no wrote:
 Dear Jackey Cheung,

 I am not sure what exactly you are trying to achieve.
 Your arrows seem to point in the direction of the lines.
 The topmost arrow in figure 1 is placed at a strange
 position - is that the problem?

 Some comments:

 The result shown in image 2 is expected.  The arrow
 symbols are in this case placed at the start points of
 the lines according to the centre point of the symbol's
 bounding rectangle (except 0,0 is always taken as the
 upper left corner of the bounding rectangle).
 When using a negative GAP, the direction of the symbol
 is the direction of the line at the (end)point.
 In version 6.2, ANCHORPOINT is introduced to make it
 possible to specify a different anchor point for the
 symbol (http://mapserver.org/trunk/mapfile/symbol.html).

 The centre point of the bounding box of your arrow_right
 symbol will be at (17.5,7) in the symbol's coordinate
 system, so the arrows will be placed somewhat shifted to
 the right (in the direction of the arrow).
 In 6.0, if you want the ends of the arrows to be aligned
 with the start of the lines (when using geomtransform
 start), you could use the following symbol:

 SYMBOL
  NAME arrow_right_shift
  TYPE VECTOR
  POINTS
    30 6
    52 6
    50 0
    60 7 # why 7.5?
    50 14
    52 8
    30 8
    30 6
  END
  FILLED TRUE
 END

 In 6.2, you will be able to specify this using
 ANCHORPOINT 1 0.5


 Håvard

 On 11/10/2011 06:35 AM, Jackey Cheung wrote:

 Hi all,

 We are trying to render line direction on 6.0.1. However, there are
 something weird with it.


 SYMBOL
   NAME                 arrow_right
   TYPE VECTOR
   POINTS
     5 6
     27 6
     25 0
     35 7.5
     25 14
     27 8
     5 8
     5 6
   END
   FILLED  TRUE
 END


 LAYER
   NAME              traffic_direction
   STATUS            DEFAULT
   TYPE              LINE
   MAXSCALEDENOM     5000

   CONNECTIONTYPE    POSTGIS
   PROCESSING        CLOSE_CONNECTION=DEFER
   CONNECTION        host=xxx dbname=*** user=xx
 password=
   DATA              geom FROM view_render_traffic_direction USING
 UNIQUE oid USING SRID=4326

   CLASS
     NAME            Traffic Direction
     STYLE
       ANGLE         AUTO
       SYMBOL        arrow_right
       SIZE          6
       COLOR         0 0 250
       GAP           -200
       #GEOMTRANSFORM start
     END
   END
 END


 The layer above is rendered as 1.PNG. We've checked that there are
 only one line (ring) there, but arrows are rendered problematic.
 Then we've tried to change GEOMTRANSFORM to start or end, then
 rings seem OK, but all arrows at intersections got crossed, as 2.PNG.
 We've also tried to use OFFSET and GAP with positive and negative
 combinations, but none can solve the problem.

 Can anyone shed some light for us? Thanks in advance.

 ___
 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] GAP problem on MapServer 6.0.1

2011-11-09 Thread Jackey Cheung
Hi all,

We are trying to render line direction on 6.0.1. However, there are
something weird with it.


SYMBOL
  NAME  arrow_right
  TYPE VECTOR
  POINTS
5 6
27 6
25 0
35 7.5
25 14
27 8
5 8
5 6
  END
  FILLED  TRUE
END


LAYER
  NAME  traffic_direction
  STATUSDEFAULT
  TYPE  LINE
  MAXSCALEDENOM 5000

  CONNECTIONTYPEPOSTGIS
  PROCESSINGCLOSE_CONNECTION=DEFER
  CONNECTIONhost=xxx dbname=*** user=xx
password=
  DATA  geom FROM view_render_traffic_direction USING
UNIQUE oid USING SRID=4326

  CLASS
NAMETraffic Direction
STYLE
  ANGLE AUTO
  SYMBOLarrow_right
  SIZE  6
  COLOR 0 0 250
  GAP   -200
  #GEOMTRANSFORM start
END
  END
END


The layer above is rendered as 1.PNG. We've checked that there are
only one line (ring) there, but arrows are rendered problematic.
Then we've tried to change GEOMTRANSFORM to start or end, then
rings seem OK, but all arrows at intersections got crossed, as 2.PNG.
We've also tried to use OFFSET and GAP with positive and negative
combinations, but none can solve the problem.

Can anyone shed some light for us? Thanks in advance.
attachment: 1.PNGattachment: 2.PNG___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] How does SYMBOLSCALEDENOM work on FONTs?

2011-09-02 Thread Jackey Cheung
I've met a problem while playing around with SYMBOLSCALEDENOM. In
attached images, the string on the top without halo is drawn as fixed
size 10px in arial. The lower string was drawn with scaling on in
verdana. However, as you can see, the scaling seems quite awkward. It
doesn't seem to change from 1:10M ~ 1:1M, and suddenly grown to full
size on 500K.

Did I make something wrong?


LAYER
  NAME              state
  STATUS            default
  TYPE              polygon
  #MINSCALEDENOM     1
  MAXSCALEDENOM     5000
  SYMBOLSCALEDENOM  50

  CONNECTIONTYPE    postgis
  CONNECTION        ...
  PROCESSING        CLOSE_CONNECTION=DEFER
  DATA              geom FROM view_render_locality USING UNIQUE oid
USING SRID=4326

  LABELITEM         sname

  CLASS
    NAME            State/Province
    LABEL
      ENCODING      UTF-8
      COLOR         0 0 0
      OUTLINECOLOR  255 255 255
      TYPE          truetype
      FONT          verdana
      SIZE          16
      POSITION      auto
      PARTIALS      false
      MINSIZE       8
      MAXSIZE       16
    END
  END
END
attachment: 1M.pngattachment: 2M.pngattachment: 10M.pngattachment: 500K.png___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] RE: Disable drawing points that are not labelled

2010-08-17 Thread Jackey Cheung
Hi Nyon,

Not sure about your exact situation. Think you may want to add a FILTER to
the layer, or use the CLASSITEM to differentiate them with different display
style or even hiding them. You may also add the filter condition directly to
the connection string (or SQL) of the layer.


On Wed, Aug 18, 2010 at 9:45 AM, YC Nyon ycn...@pd.jaring.my wrote:

  I have a POI shape file which has lots of points close to each other.
 Due to this, the labels of some points appear while others don't.
 The point symbol does appear for all the points.

 How to i set so that only points that are labelled will have the point
 symbol displayed while those that doesn't have labels displayed will not
 appear at all.


 Rgds
 YC

 ___
 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] Can map server do this?

2010-04-26 Thread Jackey Cheung
Just found a web site today. The map looks pretty like Google map, except
that it's not on Google. Can map server do this? Or anyone has any idea
which application can render this kind of image?
attachment: 878848_2476544.png___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Can map server do this?

2010-04-26 Thread Jackey Cheung
Your effect is shadow like effects, not the cube like effect.

On Mon, Apr 26, 2010 at 3:38 PM, Lars Lingner m...@lingner.eu wrote:

 Jackey Cheung schrieb:
  Just found a web site today. The map looks pretty like Google map, except
  that it's not on Google. Can map server do this? Or anyone has any idea
  which application can render this kind of image?
 

 I got a similar result using opacity and offset with MapServer. See
  image http://www.lingner.eu/mydownloads/pics/icc_building.png

 Lars

 ___
 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] Can map server do this?

2010-04-26 Thread Jackey Cheung
Seems to be a good approach, though I haven't thought about this before. I
think I'll try look further into this.

Thanks for the hint :D


On Mon, Apr 26, 2010 at 10:51 PM, Lime, Steve D (DNR) 
steve.l...@state.mn.us wrote:

 I can't tell from the example but it doesn't look like the map itself is
 oblique rather that the buildings are drawn in 2.5D.

 If so, this probably can be reduced to a data pre-processing exercise. I
 created a small test case (see attached) where a the pieces of a cube are
 drawn by MapServer. It was quick and dirty but it shows MapServer can
 possibly render like the example you referenced. Key is producing the
 cube (sides, top, and bottom) data. I would expect that could be done ahead
 of time via a script where you offset the footprint in the y direction
 by a height value and then compute the sides- each as a separate shape. I
 suppose it would be possible to create a plugin layer for this type of
 data (footprint + height) but easiest route is probably data
 pre-processing

 Something to try anyway.

 Steve
 ___
 From: mapserver-users-boun...@lists.osgeo.org [
 mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jackey Cheung [
 cheung.jac...@gmail.com]
 Sent: Monday, April 26, 2010 2:53 AM
 To: Lars Lingner
 Cc: mapserver-users@lists.osgeo.org
 Subject: Re: [mapserver-users] Can map server do this?

 Your effect is shadow like effects, not the cube like effect.

 On Mon, Apr 26, 2010 at 3:38 PM, Lars Lingner m...@lingner.eumailto:
 m...@lingner.eu wrote:
 Jackey Cheung schrieb:
  Just found a web site today. The map looks pretty like Google map, except
  that it's not on Google. Can map server do this? Or anyone has any idea
  which application can render this kind of image?
 

 I got a similar result using opacity and offset with MapServer. See
  image http://www.lingner.eu/mydownloads/pics/icc_building.png

 Lars

 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.orgmailto: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] Weird multi-line label

2010-04-15 Thread Jackey Cheung
I've tried to disable the layer, and all such labels gone away, so I think
they are from the same layer. And there is only one class is that layer, so
I don't think they've got messed up.


On Wed, Apr 14, 2010 at 5:47 PM, thomas bonfort thomas.bonf...@gmail.comwrote:

 are you sure they come from the same class/layer ?
 try changing the label color to make sure

 regards,
 thomas

 On Wed, Apr 14, 2010 at 11:02, Jackey Cheung cheung.jac...@gmail.com
 wrote:
  Hi all,
  I am playing around with labels and meet weird situations.
  Here's the class I use to generate the attached image
  PROJECTION
  init=epsg:4326
  END
  LABELITEM name
  CLASS
  MINSCALEDENOM 1
  # STYLE
  # COLOR 40 160 20
  # END
  LABEL
  ANGLE [angle]
  PRIORITY [priority]
  ENCODING UTF-8
  COLOR 0 0 0
  OUTLINECOLOR 255 255 255
  TYPE TRUETYPE
  FONT msyh
  SIZE 8
  POSITION AUTO
  PARTIALS FALSE
  MINFEATURESIZE 20
  ALIGN CENTER
  MAXLENGTH -4
  END
  END
 
  I was expecting every label to be wrapped at the 4th character. However
 only
  those in green circles are wrapped, while others are not. Do I get
 something
  wrong?
 
  P.S. I've try using WRAP  and WRAP  , but got the same image.
  ___
  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] How does SYMBOLSCALEDENOM work

2010-04-15 Thread Jackey Cheung
Hi All,

I've got a layer like this:

LAYER
NAME country
STATUS DEFAULT

TYPE POLYGON
UNITS METERS

CONNECTIONTYPE POSTGIS
CONNECTION ...
DATA geom FROM view_country_en USING UNIQUE oid USING SRID=4326

PROCESSING LABEL_NO_CLIP=ON
PROCESSING CLOSE_CONNECTION=DEFER

PROJECTION
init=epsg:4326
END
 LABELITEM sname
SYMBOLSCALEDENOM 1500
 CLASS
STYLE
COLOR 230 230 220
END

LABEL
MINSIZE 7
MAXSIZE 24
ANGLE [angle]
PRIORITY [priority]
COLOR 0 0 0
OUTLINECOLOR 255 255 240
OUTLINEWIDTH 2
TYPE TRUETYPE
ENCODING UTF-8
FONT arial-bold
SIZE 24
BUFFER 5
POSITION AUTO
PARTIALS FALSE
WRAP  
ALIGN CENTER
MAXLENGTH 0
MINFEATURESIZE AUTO
END
END
END

At scale 1:1693, the map appears normally (1693.png). While zoomed in to
1:846, the country layers is gone (8461.jpg). But if I comment out the
line SYMBOLSCALEDENOM line, or change the it to a smaller number, the
country layer is rendered normally (8462.jpg).

Why?
attachment: 1693.pngattachment: 8461.jpgattachment: 8462.jpg___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Weird multi-line label

2010-04-14 Thread Jackey Cheung
Hi all,

I am playing around with labels and meet weird situations.

Here's the class I use to generate the attached image

PROJECTION
init=epsg:4326
END

LABELITEM name

CLASS
MINSCALEDENOM 1
# STYLE
# COLOR 40 160 20
# END

LABEL
ANGLE [angle]
PRIORITY [priority]
ENCODING UTF-8
COLOR 0 0 0
OUTLINECOLOR 255 255 255
TYPE TRUETYPE
FONT msyh
SIZE 8
POSITION AUTO
PARTIALS FALSE
MINFEATURESIZE 20
ALIGN CENTER
MAXLENGTH -4
END
END


I was expecting every label to be wrapped at the 4th character. However only
those in green circles are wrapped, while others are not. Do I get something
wrong?


P.S. I've try using WRAP  and WRAP  , but got the same image.
attachment: s1.jpg___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Label size proportion to geometry size

2010-04-13 Thread Jackey Cheung
Hi all,

Say, I have two polygon in the same layer, and they are at the same logical
group/level on the map. Means that both feature should be drawn and labeled
at the same scale. However, one polygon is much larger than (say 10 times
larger) than the other. Currently, I let MapServer to handle the scaling
automatically, so that in a display scale, the label of the larger one looks
too small while the larger one looks gigantic.

My thought is straight forward: tie the font size to the size of the
polygon. However, since the label must be scaled with respect to the map
display scale, it has to be dynamic; further, since they belongs to the same
logical group, they'll eventually be in the same size when zoomed in enough.
My first thought is to bind the MINSIZE to a data attribute, so that they
start with different font sizes and eventually scaled to the same MAXSIZE.
But the MINSIZE/MAXSIZE cannot be used in this way.

Any suggestions?

P.S. I'm not using mapscript, just map file.
attachment: de.png___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Label size proportion to geometry size

2010-04-13 Thread Jackey Cheung
Hi all,

Say, I have two polygon in the same layer, and they are at the same logical
group/level on the map. Means that both feature should be drawn and labeled
at the same scale. However, one polygon is much larger than (say 10 times
larger) than the other. Currently, I let MapServer to handle the scaling
automatically, so that in a display scale, the label of the larger one looks
too small while the larger one looks gigantic.

My thought is straight forward: tie the font size to the size of the
polygon. However, since the label must be scaled with respect to the map
display scale, it has to be dynamic; further, since they belongs to the same
logical group, they'll eventually be in the same size when zoomed in enough.
My first thought is to bind the MINSIZE to a data attribute, so that they
start with different font sizes and eventually scaled to the same MAXSIZE.
But the MINSIZE/MAXSIZE cannot be used in this way.

Any suggestions?

P.S. I'm not using mapscript, just map file.
attachment: de.png___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: Fwd: [mapserver-users] Failed to show Arabic labels with MapServer 5.2

2008-11-18 Thread Jackey Cheung
Dear Stephen,

I've filed a ticket http://trac.osgeo.org/mapserver/ticket/2812.

Thank you very much for the help! Thank you TC, Stephen, and Dane.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Failed to show Arabic labels with MapServer 5.2

2008-11-17 Thread Jackey Cheung
Greetings!

We've build the MapServer 5.2 on a Linux server, with fribidi2 0.19.1, to
try show Arabic labels. But the words has been broken down to characters in
the generated images (line.png). Then we've tried on a MS4W 2.3.0 server,
but the images (ms4w.png) are even worse.

We are using PostGIS, and the database is using UTF8 (pgpr.png), while all
Arabic data can be shown correctly (pg.png) on my English Windows XP, and
we've tried some more machines, or on IE, to make sure that Arabic text in
database are really UTF8.

Here's the images: http://www3.mapasia.com/jackout/ara.png


The part of the map file is as follow, where the arbic-trans is a Arabic
TrueType font named Arabic Transparent:
LABEL
ANGLE FOLLOW
PRIORITY [priority]
ENCODING UTF-8
COLOR 0 0 0
OUTLINECOLOR 255 255 255
TYPE TRUETYPE
FONT arbic-trans
SIZE 7
POSITION AUTO
PARTIALS FALSE
MINDISTANCE 500
BUFFER 1
MINFEATURESIZE 50
END

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


Re: [mapserver-users] Failed to show Arabic labels with MapServer 5.2

2008-11-17 Thread Jackey Cheung
Steve,

Thanks for the advise, but we've tried the Arial font already in the first
test, it's just the same. We thought it was the fribidi2's problem since
0.19.1 doesn't have their configure script changed, and tried the 0.10.9,
but it's all the same, every word is broken.


On Mon, Nov 17, 2008 at 11:15 PM, Stephen Woodbridge 
[EMAIL PROTECTED] wrote:

 Jackey,

 Try locating a different font. if the text is being rendered as glyphs and
 they look correct, but is missing the joining information, it is likely that
 the font you are using does not include the joining glyphs.

 If you are using a windows machine, try getting mapserver via the fonts.txt
 file to point to the arial.ttf in the fonts folder. And change you FONT
 ... to select the windows arial font. This assumes that you can display
 arabic text correctly using the arial font from a windows application like
 excel.

 -Steve W.

 Jackey Cheung wrote:

 Greetings!


 We've build the MapServer 5.2 on a Linux server, with fribidi2 0.19.1, to
 try show Arabic labels. But the words has been broken down to characters
 in
 the generated images (line.png). Then we've tried on a MS4W 2.3.0 server,
 but the images (ms4w.png) are even worse.

 We are using PostGIS, and the database is using UTF8 (pgpr.png), while all
 Arabic data can be shown correctly (pg.png) on my English Windows XP, and

 we've tried some more machines, or on IE, to make sure that Arabic text in
 database are really UTF8.

 Here's the images: http://www3.mapasia.com/jackout/ara.png


 The part of the map file is as follow, where the arbic-trans is a Arabic
 TrueType font named Arabic Transparent:
 LABEL
 ANGLE FOLLOW
 PRIORITY [priority]
 ENCODING UTF-8
 COLOR 0 0 0
 OUTLINECOLOR 255 255 255
 TYPE TRUETYPE
 FONT arbic-trans
 SIZE 7
 POSITION AUTO
 PARTIALS FALSE
 MINDISTANCE 500
 BUFFER 1
 MINFEATURESIZE 50
 END

 Could anyone please help.




 

 ___
 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] Arabic labeling problem again?!!!

2008-11-17 Thread Jackey Cheung
We've build the MapServer 5.2 on a Linux server, with fribidi2 0.19.1, to
try show Arabic labels. But the words are not joined. Then we've tried on an
MS4W 2.3.0 server, it's worse.
We are using PostGIS, and the database is using UTF8 (pgpr.png), while all
Arabic data can be shown correctly on my English Windows XP, and we've tried
some more machines, or on IE, to make sure that Arabic text in database are
really UTF8.

Here's the images: http://www3.mapasia.com/jackout/ara.png

The part of the map file is as follow, where the arbic-trans is a Arabic
TrueType font named Arabic Transparent:
LABEL
ANGLE FOLLOW
PRIORITY [priority]
ENCODING UTF-8
COLOR 0 0 0
OUTLINECOLOR 255 255 255
TYPE TRUETYPE
FONT arbic-trans
SIZE 7
POSITION AUTO
PARTIALS FALSE
MINDISTANCE 500
BUFFER 1
MINFEATURESIZE 50
END

Any clue?



On Tue, Sep 9, 2008 at 10:56 PM, Stephen Woodbridge [EMAIL PROTECTED]
 wrote:

 Hello Saka,

 There are a lot of pieces that you have to get working together to get this
 to work:

 1) mapserver 5.2 MUST be built with fribidi2 support. I beleieve this is
 also designated as version fribidi-0.19.1

 2) A typetype font file that contains the shape gliphs that you might need
 along with the characters that you need to display.

 3) And I'm sure this works with UTF-8, but unsure about other encodings.

 4) your data converted to UTF-8 if it is in some other encoding

 5) and finally you mapfile label definition which specifies an encoding of
 utf-8.

 You might get other variations of this to work, I would be interested in
 hearing your reports of you can get others to work. I have sucessfully
 gotten the above to work.

 Best regards,
  -Stephen Woodbridge

 Saka Royban wrote:


 Hi all.
 I've asked this problem in MS4W mailing list but no success. it sounds it
 originally relates to mapserver
 According to what History.txt  for MS4W2.2.8 says, problem for arabic and
 hebrew languages has been solved by using UTF8. But i couldn't get a good
 result.
 In fact, UTF8 doesn't show letters correctly (just some symbols). i have
 tried lots of fonts but the same result.
 in current version, the problem of joining letters have been solved
 because i can get result using 'ISO8859-6' encoding which is for arabic but
 now this encoding changes some of letters with each other.
 In last version, 'Windows-1256' encoding (for arabic) worked well for
 showing letters just they were separate not joint. but in cuurent versions
 this encoding just shows some symbols.
 I'm confused. maybe i should setup sth which i don't do or i don't know
 sth else.
 that would be my appreciate to help me because it is really a need. Maps
 without labels have less usage.
 Thanks in advance
 (See attachments)
 My Mapfile: LABEL
  TYPE TrueType
  FONT timesnewromans
  ENCODING 'windows-1256'
  SIZE 12
 END


 


 


 


 

 ___
 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


Re: [mapserver-users] Failed to show Arabic labels with MapServer 5.2

2008-11-17 Thread Jackey Cheung
I've located the problem, it seems that the TTF font (Arabic Transparent) is
not 100% unicode safe. And maybe I've messed something up, so that the font
Arial didn't produce the correct result. But now I can use Arial to produce
image.

However, there still seems to be a slight problem (well, I'm not sure
whether it is a proble, since I can't read Arabic). When the label has an
angle, the words are broken a bit. Although they are using the joined
character but there are tiny gaps between them.

On Mon, Nov 17, 2008 at 11:15 PM, Stephen Woodbridge 
[EMAIL PROTECTED] wrote:

 Jackey,

 Try locating a different font. if the text is being rendered as glyphs and
 they look correct, but is missing the joining information, it is likely that
 the font you are using does not include the joining glyphs.

 If you are using a windows machine, try getting mapserver via the fonts.txt
 file to point to the arial.ttf in the fonts folder. And change you FONT
 ... to select the windows arial font. This assumes that you can display
 arabic text correctly using the arial font from a windows application like
 excel.

 -Steve W.

 Jackey Cheung wrote:

 Greetings!


 We've build the MapServer 5.2 on a Linux server, with fribidi2 0.19.1, to
 try show Arabic labels. But the words has been broken down to characters
 in
 the generated images (line.png). Then we've tried on a MS4W 2.3.0 server,
 but the images (ms4w.png) are even worse.

 We are using PostGIS, and the database is using UTF8 (pgpr.png), while all
 Arabic data can be shown correctly (pg.png) on my English Windows XP, and

 we've tried some more machines, or on IE, to make sure that Arabic text in
 database are really UTF8.

 Here's the images: http://www3.mapasia.com/jackout/ara.png


 The part of the map file is as follow, where the arbic-trans is a Arabic
 TrueType font named Arabic Transparent:
 LABEL
 ANGLE FOLLOW
 PRIORITY [priority]
 ENCODING UTF-8
 COLOR 0 0 0
 OUTLINECOLOR 255 255 255
 TYPE TRUETYPE
 FONT arbic-trans
 SIZE 7
 POSITION AUTO
 PARTIALS FALSE
 MINDISTANCE 500
 BUFFER 1
 MINFEATURESIZE 50
 END

 Could anyone please help.




 

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



attachment: line.jpgattachment: angle.jpg___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Problem making mapserv on Linux with fribidi

2008-11-17 Thread Jackey Cheung
Greetings!

We've tried to build MapServer on our Linux test server, and it goes fine
with no error reported. However, when we put it to test, all Arabic words
are broken but the character sequence is correctly ordered from right to
left (attached jpg).

We've tried to download the latest version from MapServer's and FriBidi's
official site and done it again, still no success.

The box is a CentOS 5.1, and here's the command line we've used:
./configure \
--with-jpeg \
--with-png \
--with-freetype \
--with-proj \
--with-geos \
--with-ogr \
--with-gdal \
--with-curl \
--with-tiff \
--with-gd \
--with-libiconv \
--with-zlib \
--with-xpm \
--with-agg=/usr/local/agg \
--with-grass \
--with-httpd=/usr/local/apache/bin/httpd \
--with-php=/usr/local/php \
--with-postgis=/usr/local/pgsql/bin/pg_config \
--with-fribidi-config=/usr/local/lib/pk


and here's the mapfile:
MAP
SHAPEPATH/map/map
FONTSET/map/fonts.list
SYMBOLSET/map/symbols.list

UNITSDD
EXTENT-180 -90 180 90

OUTPUTFORMAT
NAMEAGGA
DRIVERAGG/PNG
MIMETYPEimage/png
IMAGEMODERGBA
TRANSPARENTON
EXTENSIONpng
FORMATOPTION INTERLACE=OFF
END

OUTPUTFORMAT
NAMEPNG24
DRIVERGD/PNG
MIMETYPEimage/png
IMAGEMODERGBA
EXTENSIONpng
TRANSPARENTON
FORMATOPTION INTERLACE=OFF
END

IMAGETYPEAGGA
IMAGECOLOR255255255

PROJECTION
init=epsg:4326
END

WEB
IMAGEPATH/map/tmp/ms_tmp/
IMAGEURL/ms_tmp/
END

LAYER
NAME12
STATUSDEFAULT

TYPEPOLYGON
TRANSFORMFALSE

FEATURE
POINTS 0 0 0 400 400 400 400 0 0 0 END
END

CLASS
STYLE
COLOR 220 220 220
END
END
END

LAYER
NAME12
STATUSDEFAULT

TYPEANNOTATION
TRANSFORMFALSE

FEATURE
POINTS 350 350 END
TEXT 12 طريق شيخ عسى سلمان
END

CLASS
LABEL
ANGLEAUTO
ENCODINGUTF-8
COLOR0 0 0
OUTLINECOLOR255 255 255
TYPETRUETYPE
FONTarabic-trad
SIZE12
ANTIALIASTRUE
POSITIONAUTO
PARTIALSFALSE
END
END
END

LAYER
NAME16
STATUSDEFAULT

TYPEANNOTATION
TRANSFORMFALSE

FEATURE
POINTS 250 250 END
TEXT 16 طريق شيخ عسى سلمان
END

CLASS
LABEL
ANGLEAUTO
ENCODINGUTF-8
COLOR0 0 0
OUTLINECOLOR255 255 255
TYPETRUETYPE
FONTarabic-trad
SIZE16
ANTIALIASTRUE
POSITIONAUTO
PARTIALSFALSE
END
END
END

LAYER
NAME20
STATUSDEFAULT

TYPEANNOTATION
TRANSFORMFALSE

FEATURE
POINTS 150 150 END
TEXT 20 طريق شيخ عسى سلمان
END

CLASS
LABEL
ANGLEAUTO
ENCODINGUTF-8
COLOR0 0 0
OUTLINECOLOR255 255 255
TYPETRUETYPE
FONTarabic-trad
SIZE20
ANTIALIASTRUE
POSITIONAUTO
PARTIALSFALSE
END
END
END

LAYER
NAME24
STATUSDEFAULT

TYPEANNOTATION
TRANSFORMFALSE

FEATURE
POINTS 50 50 END
TEXT 24 طريق شيخ عسى سلمان
END

CLASS
LABEL
ANGLE 

Re: [mapserver-users] How do I make a shapefile polygon thicker within UMN Mapserver

2008-05-08 Thread Jackey Cheung
The good news is, if I recall correctly, starting from MapServer 5.0, the
WIDTH parameter affects the width of the outline of polygon layers.


On Fri, May 9, 2008 at 1:14 AM, Bart van den Eijnden (OSGIS) 
[EMAIL PROTECTED] wrote:

 See the FAQ under section


 How do I set line width in my maps?

 http://mapserver.gis.umn.edu/docs/faq

 Best regards,
 Bart

 John Mitchell wrote:

 Hi,

 How do I make a shapefile polygon thicker within UMN Mapserver?

 I have listed below the layer that correctly displays the outlines
 contained within the shapefile, but I can't figure out how to make the
 polygon outlines thicker.


 LAYER
  # name of layer
  NAME stlouisxdrive
  GROUP gv:stlouisxdrive

  PROJECTION
   init=epsg:26915
  END
# what type of data is this?
  TYPE POLYGON
DATA C:/TEMP/64Resolution

  # always returned with interface
  STATUS ON

CLASS
OUTLINECOLOR 255 0 0
END
  END


 --
 John J. Mitchell
 

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




 --
 Bart van den Eijnden
 OSGIS, Open Source GIS
 [EMAIL PROTECTED]
 http://www.osgis.nl


 ___
 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] AGG Anti-alias VECTOR sybmol

2008-04-22 Thread Jackey Cheung
Greetings!


I've generated a map: http://maps.mapking.com/eg.png

with these:

OUTPUTFORMAT
NAMEAGGA
DRIVERAGG/PNG
IMAGEMODERGBA
TRANSPARENTON
EXTENSIONpng
FORMATOPTION INTERLACE=OFF
END

CLASS
MAXSCALEDENOM500
MINSCALEDENOM50

STYLE
WIDTH4
COLOR50 50 50
END

STYLE
SYMBOLrail_line
SIZE   3
COLOR250 250 250
END
 END

SYMBOL
  NAME rail_line
  TYPE ELLIPSE
  POINTS
  1 1
  END
  STYLE
8 4 8
  END
#GAP 100
  FILLED TRUE
#ANTIALIASTRUE
END


As you can see in the image, the everything are smooth except the railway.
All line and polygon layers are drawn with simple styles without the use
of SYMBOL. Only the railway lines are drawn with a VECTOR symbol.
Does AGG's anti-alias works with symbols?  If not, any work around?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users