Re: [mapserver-users] New mappyfile release (with CLI)

2018-08-22 Thread Kralidis, Tom (EC)
We're using mappyfile in our projects and I must say it is a fantastic tool
for mapfile composition workflows.  Great job!

Thanks for the release (and thanks to Hobu who introduced me to Seth, who
introduced me to mappyfile at the code sprint in Bonn earlier this year).

..Tom

> -Original Message-
> From: mapserver-users  On
> Behalf Of Seth G
> Sent: August 22, 2018 20:21
> To: mapserver-users@lists.osgeo.org
> Subject: [mapserver-users] New mappyfile release (with CLI)
> 
> Hi list,
> 
> Just to let you know there is a new release of mappyfile (0.7.3). If you're 
> not
> aware of the project it is a Python library for working with Mapfiles, and can
> be installed with "pip install mappyfile".
> 
> The latest release has 2 command line programs for formatting, and
> validating Mapfiles. See
> https://mappyfile.readthedocs.io/en/latest/client.html for details. In
> summary you can run:
> 
> mappyfile format valid.map valid_formatted.map
> 
> And:
> 
> mappyfile validate valid.map
> 
> 
> The project is released under an MIT licence, and sourcecode available at
> https://github.com/geographika/mappyfile
> 
> If anyone has valid Mapfiles that don't validate please create an issue on
> Github, or send them on to me directly.
> 
> Regards,
> 
> Seth
> 
> --
> web:http://geographika.co.uk
> twitter: @geographika
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] New mappyfile release (with CLI)

2018-08-22 Thread Seth G
Hi list,

Just to let you know there is a new release of mappyfile (0.7.3). If you're not 
aware of the project it is a Python library for working with Mapfiles, and can 
be installed with "pip install mappyfile". 

The latest release has 2 command line programs for formatting, and validating 
Mapfiles. See https://mappyfile.readthedocs.io/en/latest/client.html for 
details. In summary you can run:

mappyfile format valid.map valid_formatted.map

And:

mappyfile validate valid.map


The project is released under an MIT licence, and sourcecode available at 
https://github.com/geographika/mappyfile

If anyone has valid Mapfiles that don't validate please create an issue on 
Github, or send them on to me directly. 

Regards,

Seth

--
web:http://geographika.co.uk
twitter: @geographika
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Compiling RSVG in 7.2

2018-08-22 Thread Jeff McKenna

Hi,

I've had success with libsvg + libsvg-cairo on systems, I recommend 
giving that a try.  -jeff



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


On 2018-08-22 1:47 PM, pub...@postholer.com wrote:

Greetings,

I'm trying to compile 7.2 with RSVG support with zero luck. Can someone point 
out my mistake? OS is CentOS 6.5.
Here's all the relevant info:

cmake output. cmake command and full response is at the bottom:

-- Could NOT find GOBJECT (missing:  GOBJECT_INCLUDE_DIR)
CMake Error at CMakeLists.txt:69 (message):
   RSVG library/component/dependency could not be found.

 HINTS:
 - disable RSVG support by adding -DWITH_RSVG=0
 - add the RSVG install directory to the CMAKE_PREFIX_PATH variable 
(-DCMAKE_PREFIX_PATH="/path/to/RSVG-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
   CMakeLists.txt:630 (report_optional_not_found)



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

[mapserver-users] Compiling RSVG in 7.2

2018-08-22 Thread public
Greetings,

I'm trying to compile 7.2 with RSVG support with zero luck. Can someone point 
out my mistake? OS is CentOS 6.5.
Here's all the relevant info:

cmake output. cmake command and full response is at the bottom:

-- Could NOT find GOBJECT (missing:  GOBJECT_INCLUDE_DIR)
CMake Error at CMakeLists.txt:69 (message):
  RSVG library/component/dependency could not be found.

HINTS:
- disable RSVG support by adding -DWITH_RSVG=0
- add the RSVG install directory to the CMAKE_PREFIX_PATH variable 
(-DCMAKE_PREFIX_PATH="/path/to/RSVG-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
  CMakeLists.txt:630 (report_optional_not_found)


Here's my librsvg-2 install:
/usr/bin/rsvg
/usr/bin/rsvg-convert
/usr/bin/rsvg-view
/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/svg_loader.so
/usr/lib64/gtk-2.0/2.10.0/engines/libsvg.so
/usr/lib64/librsvg-2.so.2
/usr/lib64/librsvg-2.so.2.26.0
/usr/share/doc/librsvg2-2.26.0
/usr/share/doc/librsvg2-2.26.0/AUTHORS
/usr/share/doc/librsvg2-2.26.0/COPYING
/usr/share/doc/librsvg2-2.26.0/COPYING.LIB
/usr/share/doc/librsvg2-2.26.0/NEWS
/usr/share/doc/librsvg2-2.26.0/README
/usr/share/man/man1/rsvg.1.gz

...and librsvg-2-devel install:
/usr/include/librsvg-2
/usr/include/librsvg-2/librsvg
/usr/include/librsvg-2/librsvg/librsvg-enum-types.h
/usr/include/librsvg-2/librsvg/librsvg-features.h
/usr/include/librsvg-2/librsvg/rsvg-cairo.h
/usr/include/librsvg-2/librsvg/rsvg.h
/usr/lib64/librsvg-2.so
/usr/lib64/pkgconfig/librsvg-2.0.pc
/usr/share/gtk-doc/html/rsvg
/usr/share/gtk-doc/html/rsvg/home.png
/usr/share/gtk-doc/html/rsvg/index.html
/usr/share/gtk-doc/html/rsvg/index.sgml
/usr/share/gtk-doc/html/rsvg/ix01.html
/usr/share/gtk-doc/html/rsvg/left.png
/usr/share/gtk-doc/html/rsvg/pt02.html
/usr/share/gtk-doc/html/rsvg/pt03.html
/usr/share/gtk-doc/html/rsvg/pt04.html
/usr/share/gtk-doc/html/rsvg/right.png
/usr/share/gtk-doc/html/rsvg/rsvg-Cairo.html
/usr/share/gtk-doc/html/rsvg/rsvg-Core-API.html
/usr/share/gtk-doc/html/rsvg/rsvg-GdkPixbuf.html
/usr/share/gtk-doc/html/rsvg/rsvg.devhelp
/usr/share/gtk-doc/html/rsvg/rsvg.devhelp2
/usr/share/gtk-doc/html/rsvg/rsvg.html
/usr/share/gtk-doc/html/rsvg/style.css
/usr/share/gtk-doc/html/rsvg/up.png

...and cmake command:
cmake \
   -DCMAKE_PREFIX_PATH="/usr/lib64;/usr/include/librsvg-2" \
   -DWITH_SVGCAIRO=0 \
   -DWITH_CAIRO=1 \
   -DWITH_RSVG=1 \
   -DWITH_FRIBIDI=0 \
   -DWITH_HARFBUZZ=0 \
   -DWITH_CURL=1 \
   -DWITH_KML=1 \
   -DWITH_GIF=0 \
   -DWITH_POSTGIS=1 \
   -DWITH_MYSQL=1 \
   -DWITH_PERL=1 \
   -DWITH_PHP=1 \
   -DWITH_PROTOBUFC=0 \
   ..

Result:
-- Could NOT find GOBJECT (missing:  GOBJECT_INCLUDE_DIR) 
CMake Error at CMakeLists.txt:69 (message):
  RSVG library/component/dependency could not be found.

HINTS:
- disable RSVG support by adding -DWITH_RSVG=0
- add the RSVG install directory to the CMAKE_PREFIX_PATH variable 
(-DCMAKE_PREFIX_PATH="/path/to/RSVG-install-dir;/path/to/other/dirs"
Call Stack (most recent call first):
  CMakeLists.txt:630 (report_optional_not_found)


-- /usr/include/php/main
-- Found PHP5-Version 5.3.3 (using /usr/bin/php-config)
-- * Summary of configured options for this build
--  * Mandatory components
--   * png: /usr/lib64/libpng.so
--   * jpeg: /usr/lib64/libjpeg.so
--   * freetype: /usr/lib64/libfreetype.so
--  * Optional components
--   * GDAL: /usr/local/lib/libgdal.so
--   * OGR: /usr/local/lib/libgdal.so
--   * GIF: disabled
--   * MYSQL: /usr/lib64/mysql/libmysqlclient.so
--   * FRIBIDI: disabled
--   * HARFBUZZ: disabled
--   * GIF: disabled
--   * CAIRO: /usr/lib64/libcairo.so
--   * SVGCAIRO: disabled
--   * RSVG: disabled
--   * CURL: /usr/lib64/libcurl.so
--   * PROJ: /usr/lib64/libproj.so
--   * PIXMAN: disabled
--   * LIBXML2: /usr/lib64/libxml2.so
--   * POSTGIS: /usr/pgsql-9.4/lib/libpq.so
--   * GEOS: /usr/lib64/libgeos_c.so
--   * FastCGI: /usr/lib64/libfcgi.so
--   * PROTOBUFC: disabled
--   * Oracle Spatial: disabled
--   * Exempi XMP: disabled
--  * Optional features
--   * WMS SERVER: ENABLED
--   * WFS SERVER: ENABLED
--   * WCS SERVER: ENABLED
--   * SOS SERVER: disabled
--   * WMS CLIENT: disabled
--   * WFS CLIENT: disabled
--   * ICONV: ENABLED
--   * Thread-safety support: disabled
--   * KML output: ENABLED
--   * Z+M point coordinate support: disabled
--   * XML Mapfile support: disabled
--  * Mapscripts
--   * Python: disabled
--   * PHP: ENABLED
--   * PERL: ENABLED
--   * RUBY: disabled
--   * JAVA: disabled
--   * C#: disabled
--   * V8 Javascript: disabled
--   * Apache Module (Experimental): disabled
-- 
-- Will install files to /usr/local
-- Will install libraries to /usr/local/lib
-- Configuring incomplete, errors occurred!
See also "/home/maps/mapserver-7.2.0/build/CMakeFiles/CMakeOutput.log".
See also "/home/maps/mapserver-7.2.0/build/CMakeFiles/CMakeError.log".
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Getting an empty MVT output for a point layer

2018-08-22 Thread Lime, Steve D (MNIT)
A ticket would be terrific. I’m on this one… --Steve

From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of Rahkonen Jukka (MML)
Sent: Tuesday, August 21, 2018 8:28 AM
To: Caleb Lee ; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Getting an empty MVT output for a point layer

Hi,

I haven’t heard any feedback yet. Test data seems to be still available and I 
believe that the issue is real. It seems that nobody has bothered to create a 
ticket yet https://github.com/mapserver/mapserver/issues.

-Jukka Rahkonen-


Lähettäjä: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] 
Puolesta Caleb Lee
Lähetetty: 21. elokuuta 2018 16:20
Vastaanottaja: 
mapserver-users@lists.osgeo.org
Aihe: Re: [mapserver-users] Getting an empty MVT output for a point layer

Hi, is there any update regarding this MVT output problem for point layers?

Thanks,

Caleb

From: Rahkonen Jukka (MML) 
mailto:jukka.rahko...@maanmittauslaitos.fi>>
Sent: Thursday, August 9, 2018 10:18 AM
To: Lime, Steve D (MNIT); Caleb Lee; 
mapserver-users@lists.osgeo.org
Subject: Re: Getting an empty MVT output for a point layer




Hi,



My colleague has suffered from the same issue. Here is a link to a directory 
with a mapfile and corresponding datasets (OSM data as GeoPackage and Natural 
earth populated places as shapefile) http://193.167.189.71/temppi/



-Jukka Rahkonen-



Lähettäjä: Lime, Steve D (MNIT) [mailto:steve.l...@state.mn.us]
Lähetetty: 8. elokuuta 2018 21:14
Vastaanottaja: Caleb Lee mailto:caleb...@hotmail.com>>; 
Rahkonen Jukka (MML) 
mailto:jukka.rahko...@maanmittauslaitos.fi>>;
 mapserver-users@lists.osgeo.org
Aihe: RE: Getting an empty MVT output for a point layer



I’ll have a look at this too. My demo instance had a point player so it 
certainly should be working. Can you share your data (contact me off list if 
you’d like)? --Steve



From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of Caleb Lee
Sent: Wednesday, August 08, 2018 12:40 PM
To: Rahkonen Jukka (MML) 
mailto:jukka.rahko...@maanmittauslaitos.fi>>;
 mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Getting an empty MVT output for a point layer



I will be away for a while so I cannot do that right now. However, I can do 
that probably early next week.



If it helps, I just tried WMS request to generate both png and mvt and I got 
the similar result:



1. WMS request with FORMAT set to image/png

- I got a png image with 50k points drawn)



mapserv?map=D:\home\site\wwwroot\100k_3857_node.map=WMS=1.1.1=GetMap=nodes=800=600=epsg:3857==-8979930,4769116,-8362889,5173075=image/png



2. WMS request with application/x-protobuf

- got the same result like the following:


   nodesIdName(€ x



mapserv?map=D:\home\site\wwwroot\100k_3857_node.map=WMS=1.1.1=GetMap=nodes=800=600=epsg:3857==-8979930,4769116,-8362889,5173075=application/x-protobuf



Thanks,



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