Feed aggregator

Jackie Ng: FDO road test: SQL Server 2017 on Linux

Planet OSGeo feeds - Wed, 11/22/2017 - 16:16
You can consider this post as the 2017 edition of this post.

So for some background. There's been several annoyances I've been personally experiencing with the SQL Server FDO provider that have given me sufficient motivation to fix the problem right at the source (code). However, before I can go down that road, I needed to set up a local dev installation of SQL Server as my dev environment is more geared towards MapGuide than individual FDO providers.

But just like my previous adventure with the King Oracle FDO provider, I didn't want to have to actually find/download a SQL Server installer and proceed to pollute my dev environment with a whole assortment of junk and bloat. We now live in the era of docker containers! Spinning up a SQL Server environment should be a docker pull away and when I no longer need the environment, I can cleanly blow it away without leaving lots of junk behind.

And it just so happens that with the latest release of SQL Server 2017, not only is running it inside a docker container a first-class user story, it is also the first release of SQL Server that natively runs on Linux.

So through the exercise of spinning up a SQL Server 2017 linux container we can kill multiple birds with one stone:

  • We'll know if MapGuide/FDO in its current form can work with SQL Server 2017
  • We'll also know how well it works with the Linux version of SQL Server (given its feature set is not at parity with the equivalent Windows version)
  • If MapGuide/FDO works, we'd then have a SQL Server environment ready to go which can be spun up and torn down on demand to then start fixing various problems with the FDO provider.

Spinning up the SQL Server 2017 linux docker container
This was easy because Microsoft provides an official docker image. So it was a case of just pulling down the docker image and adjusting some environment parameters to use a custom SQL Server sa login when we go to docker run the container and also define port mappings so we can connect to this container from the docker host OS.
The FDO Toolbox bootstrapping test
This was an easy way to determine if the SQL Server FDO provider works with SQL Server 2017. FDO Toolbox has the ability to:
  1. Create a SQL Server data store
  2. Bulk Copy spatial data into it
  3. Query/Preview data from it
If we can do all 3 things above in FDO Toolbox against the freshly spun up SQL Server 2017 linux container, that's a very good sign that everything works.
Creating the FDO data store
FDO Toolbox has a specialized UI for creating SQL Server data stores that is accessible by right-clicking the FDO Data Sources node and choosing Create Data Store - Create SQL Server

This gives us the UI to set up a new SQL Server data store

The first real test is to see if the FDO provider can connect to our SQL Server container, which is a case of filling in all the required connection properties and clicking the Test button, which gives us:

So far so good. Now that we know the FDO provider can connect to the container, we can fill out the data store parameters and click OK to create the data store, which gave us another good sign:

Now just to be sure that the FDO provider did actually create the database, I connected to this SQL Server instance through alternative tools (such as the new SQL Operations Studio) and we can see that the database is indeed there.

So now we can bulk copy some spatial data into it, which will be a nice solid verification that the feature and schema manipulation functionality of the FDO provider work in SQL Server 2017.

So I set up a bulk copy using a whole bunch of test SHP files. A few moments later, we got another positive sign:

Again, for verification we can look at this database in a different tool and can see that the FDO provider correctly created the database tables.

And that data was actually being copied in

Just as an aside: SQL Operations Studio doesn't do spatial data previews like its big brother SQL Server Management Studio.

A shame really. Oh well, at least we can do that in FDO Toolbox :)

Which is also confirmation that FDO is getting the geometry data out of our SQL Server 2017 linux container without any problems.

So based on all these findings, I feel comfortable in saying that FDO (and applications using it like MapGuide) works just fine with SQL Server 2017, especially its Linux version.

Now to deal with these actual annoyances in the FDO provider itself ...

Jackie Ng: An introduction to MgTileSeeder

Planet OSGeo feeds - Wed, 11/22/2017 - 16:13
I previously said I'd cover this tool in a future post, and that future is now.

MgTileSeeder (introduced as a standalone companion release to MapGuide Maestro 6.0m8) is a new command-line tile seeding application that is the successor to the current MgCooker tile seeder.

This tool is the offspring of an original thought experiment about how one could possibly build a multi-threaded tile seeder using 2017-era .net libraries and tools. It turns out the actual implementation didn't differ that much from my hypothetical code sample from the original post!

But besides being a ground-up rewrite, MgTileSeeder has the following unique features over MgCooker:

  • If your MapGuide Server is 2.6 or newer, we will use CREATERUNTIMEMAP to automatically infer the required meters-per-unit value that is critical in determining how many tiles we need to actually seed.
  • MgTileSeeder is a cross-platform and self-contained .net core application taking advantage of the newly netstandard-ized Maestro API.
  • More importantly, MgTileSeeder finally supports seeding of XYZ tilesets. In fact, the way this support has been designed, you can use MgTileSeeder as a generic tile cache seeder for any XYZ tileset, not just ones served by MapGuide itself.
Seeding standard tiled maps
The minimal command to start seeding a tiled map is simply:
MgTileSeeder mapguide -m --map

Here's an example MgTileSeeder invocation to seed a tile set
MgTileSeeder mapguide -m http://localhost/mapguide/mapagent/mapagent.fcgi --map Library://Samples/Sheboygan/TileSets/Sheboygan.TileSetDefinition
This will use CREATERUNTIMEMAP to auto-infer the required meters-per-unit (for tile sets, we make a temporary Map Definition that links to the tile set and run CREATERUNTIMEMAP against that) and then proceeds to display a running progress that updates every second:

There are other options available, such as:
  • Restricting tile seeding to a specific extent
  • Restricting tile seeding to specific base layer groups
  • Manually passing in the meters-per-unit value

Seeding XYZ tile sets
Seeding XYZ tile sets uses a completely different set of parameters. The minimal command to seed an XYZ tile set is:
MgTileSeeder xyz --url --minx --miny --maxx --maxy
An example of tiling a XYZ tile set (eg. Library://Samples/Sheboygan/TileSets/SheboyganXYZ.TileSetDefinition) in MapGuide would look like this:
MgTileSeeder xyz --url "http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GETTILEIMAGE&VERSION=1.2.0&CLIENTAGENT=OpenLayers&USERNAME=Anonymous&MAPDEFINITION=Library://Samples/Sheboygan/TileSets/SheboyganXYZ.TileSetDefinition&BASEMAPLAYERGROUPNAME=Base+Layer+Group&TILECOL={y}&TILEROW={x}&SCALEINDEX={z}" --minx -87.7978 --miny 43.6868 --maxx -87.6645 --maxy 43.8037
Unlike the standard tiling mode you are required to define the bounds (in lat/long) of the area you wish to seed. Also you can see here that the XYZ tiling mode accepts any arbitrary URL that has {x}, {y} and {z} placeholders. This means you can use MgTileSeeder for tiling any XYZ tile set (eg. Your own custom OpenStreetMap tile set), not just ones served by MapGuide. You just need to make sure your URL provides the required XYZ placeholders.

And that concludes our introduction to the MgTileSeeder tool.
Happy tiling!

Free and Open Source GIS Ramblings: Movement data in GIS #11: FOSS4G2017 talk recordings

Planet OSGeo feeds - Wed, 11/22/2017 - 13:08

Many of the topics I’ve covered in recent “Movement data in GIS” posts, have also been discussed at this year’s FOSS4G. Here’s a list of videos for you to learn more about the OGC Moving Features standard, modelling AIS data with FOSS, and more:

1. Introduction to the OGC Moving Features standard presented by Kyoung-Sook Kim from the Artificial Intelligence Research Center, Japan:

Another Perspective View of Cesium for OGC Moving Features from FOSS4G Boston 2017 on Vimeo.

2. Modeling AIS data using GDAL & PostGIS presented by Morten Aronsen from the Norwegian Defence Research Establishment:

Density mapping of ship traffic using FOSS4G in C# .NET from FOSS4G Boston 2017 on Vimeo.

3. 3D visualization of movement data from videos presented by Anna Petrasova from the Center for Geospatial Analysis, North Carolina State University:

Visualization and analysis of active transportation patterns derived from public webcams from FOSS4G Boston 2017 on Vimeo.

There are also a ton of Docker presentations on the FOSS4G2017 Vimeo channel, if you liked “Docker basics with Geodocker GeoServer”.

Read more:

gvSIG Team: The new gvSIG Mobile is already available. The open source mobile GIS of the gvSIG Suite

Planet OSGeo feeds - Wed, 11/22/2017 - 10:20

Excellent news for all those who need GIS applications for field data gathering. You have the new gvSIG Mobile available already, for Android devices, that you can install from ‘Google Play’.

gvSIG Mobile is open source software, like all gvSIG Suite solutions. It’s licensed under the GNU/GPLv3 license.

The new gvSIG Mobile is based on Geopaparazzi, with more than obvious similarities, but with a different approach that will be reflected in its evolution. gvSIG Mobile was born with the aim of having a mobile GIS application for professionals and, it has different tools that facilitate its integration with the rest of the gvSIG Suite. For example, it has a data importer and exporter from/to gvSIG Online, functionality that is already used by many of the organizations that are betting on implementing their Spatial Data Infrastructures (SDI) with this platform. They are able to carry out census or inventories, update or audit information and all of that integrated with the SDI. In the same way the next version of gvSIG Desktop brings among its (numerous) improvements a plugin that will allow data dumping between both applications. And this is just the beginning …

Of course, gvSIG Mobile can be used independently of the rest of the gvSIG Suite components. In an individual level, it is a fantastic application for field data gathering. It includes a lot of functionalities, but it is very easy of use. You can gather field data, edit existing data, attach images, notes or bookmarks to geolocated elements, etc. Without forgetting the ability to have forms that make gathering easier.

In the coming months we will be complementing the application information currently available with user manuals in several languages, video-tutorials, etc. In addition, for this first version, until we have the specific gvSIG Mobile documentation available, you can also consult all the material available about Geopaparazzi, totally applicable to the use of gvSIG Mobile. And, of course, you can use the user mailing lists to ask about any doubt or problem that you have with the mobile GIS that is going to become your favorite one.

For those interested in the development part, the project can be found here: https://github.com/gvSIGAssociation/gvsig-mobile

Finally, from the gvSIG Association we want to thank two of our companies, HydroloGIS and Scolab, for the work done so that today all of us have the possibility to use gvSIG Mobile freely.

What are you waiting for to download it?


Filed under: development, english, gvSIG Mobile, testing Tagged: Android

gvSIG Team: El nuevo gvSIG Mobile ya disponible. El SIG móvil en software libre de la Suite gvSIG.

Planet OSGeo feeds - Wed, 11/22/2017 - 09:02

Una excelente noticia para todos aquellos que necesitan de aplicaciones SIG para toma de datos en campo. Ya tenéis disponible el nuevo gvSIG Mobile, disponible para dispositivos Android y que podéis instalar desde ‘Google Play’.

gvSIG Mobile es software libre, como todas las soluciones de la Suite gvSIG. Su licencia es la GNU/GPLv3.

El nuevo gvSIG Mobile está basado en Geopaparazzi, con similitudes más que evidentes, pero con un enfoque distinto que se verá reflejado en su evolución. gvSIG Mobile nace con el objetivo de disponer de una aplicación SIG móvil para profesionales y, como tal, dispone de herramientas que facilitan su integración con el resto de la Suite gvSIG. Así, por ejemplo, en gvSIG Mobile tenemos importador y exportador de datos a gvSIG Online, funcionalidad que ya utilizan las cada vez más numerosas organizaciones que están apostando por implantar sus Infraestructuras de Datos Espaciales (IDE) con esta plataforma. Poder realizar censos o inventarios, actualizar o auditar información y todo ello integrado con la IDE. Del mismo modo la próxima versión de gvSIG Desktop trae entre sus (numerosísimas) mejoras un plugin que permitirá el volcado de datos entre ambas aplicaciones. Y esto sólo es el comienzo…

Por supuesto se puede utilizar gvSIG Mobile de forma independiente al resto de componentes de la Suite gvSIG. A nivel individual es una aplicación fantástica para toma de datos en campo. Sus funcionalidades son numerosas, sin que esto reste a su facilidad de uso. Se puede realizar toma de datos en campo, editar existentes, asociar imágenes, notas, croquis a elementos geoposicionados, etc. Sin olvidar la capacidad para disponer de formularios que nos faciliten la toma de datos.

En los próximos meses iremos complementando la información actualmente disponible de la aplicación con manuales de usuario en varios idiomas, vídeo-tutoriales, etc. Para esta primera versión, además y hasta que tengamos la documentación especifica de gvSIG Mobile disponible, podéis también consultar todo el material disponible de Geopaparazzi y totalmente aplicable al uso de gvSIG Mobile. Y, por supuesto, utilizar las listas de usuarios para consultar cualquier duda o problema que tengáis con el que va a convertirse en vuestro SIG móvil favorito.

Para los interesados en la parte de desarrollo, el proyecto lo podéis encontrar aquí: https://github.com/gvSIGAssociation/gvsig-mobile

Por último, desde la Asociación gvSIG queremos agradecer a dos de nuestras empresas, HydroloGIS y Scolab, el trabajo realizado para que hoy todos tengamos la posibilidad de usar libremente gvSIG Mobile.

¿Qué estáis esperando para descargarlo?

Filed under: gvSIG Mobile, spanish Tagged: Android

GeoServer Team: GeoServer 2.12.1 Released

Planet OSGeo feeds - Wed, 11/22/2017 - 00:43

We are happy to announce the release of GeoServer 2.12.1. Downloads are available (zipwardmg and exe) along with docs and extensions.

This is a stable release recommended for production use. This release is made in conjunction with GeoTools 18.1.

Highlights of this release are featured below, for more information please see the release notes ( | 2.12-RC1 | 2.12-beta).

New Features and Improvements
  • Moved Users/Groups/Roles REST from geofence-server (extension) to restconfig (core)
Bug Fixes
  • Copy style needs to copy content and format
  • REST API CORS support
  • YSLD ColorMap incorrectly recording a String (as shown in SLD conversion)
  • MapPreviewPage search displays wrong results on first try
  • GWC Seed Form returns blank page when seeding a layer.
  • Monitor REST API won’t return xml/json representation for request
  • Failed to resolve workspace for style messages during startup
About GeoServer 2.12 Series

Additional information on the 2.12 series:

GeoTools Team: GeoTools 18.1 Release

Planet OSGeo feeds - Tue, 11/21/2017 - 18:41
Tuesday, November 21, 2017
GeoTools 18.1 ReleasedThe GeoTools team is pleased to announce the release of GeoTools 18.1:This release is also available from our Maven repository.

Thanks to everyone who took part in the monthly bug stomp, or directly making the release. This release is made in conjunction with GeoServer 2.12.1. 

This release is the current stable release and as such users and downstream projects should consider moving from older releases to this one.
Highlights from our issue tracker release-notes:
  • Add support for latest MySQL DB enhancements in jdbc-mysql module
  • Fixed [GEOT-5840] - WMTS getCapabilities fails parsing WellKnownScaleSet
For more information see this and past release notes (18.1 | 18.0 | 18-RC1).

Thanks to Boundless for allowing David Vick to make this release.

Fernando Quadro: GeoServer Beginner’s Guide

Planet OSGeo feeds - Tue, 11/21/2017 - 12:06

Você está interessado em aprender sobre GeoServer?

Stefano Iacovella acaba de lançar sua nova edição do best-seller GeoServer Beginner’s Guide.

A segunda edição foi completamente revista e o conteúdo foi atualizado para a versão mais recente do software.

Eu tenho a versão impressa e o e-Book da primeira versão, e recomendo o livro a todos que queiram aprender um pouco mais sobre o GeoServer.

Saiba mais sobre como adquirir o livro no site da Packt:


gvSIG Team: 4D in gvSIG Desktop, temporary data are arriving

Planet OSGeo feeds - Tue, 11/21/2017 - 09:22

We haven’t been able to wait and we have to show you one of the (many) things that we are working on: Temporary data in gvSIG Desktop.

At the videos that are linked from this post firstly you can see how we allocate the temporary ability to a shapefile (about crimes in London city) with a field that doesn’t contain dates (it’s an alphanumerical field). From that point we can consult the data in a determined moment or temporary range. And we also can generate animations at the same View.

At the second video, the utility of these tools can be seen better with a heatmap legend.

Do you understand that we haven’t been able to avoid showing you this new functionality?

Teaser 1:

Teaser 2:

Filed under: english, gvSIG Desktop, testing Tagged: 4D, Temporary data, Time

MapProxy: New MapProxy 1.11.0 release

Planet OSGeo feeds - Mon, 11/20/2017 - 23:00

We are pleased to announce the release of MapProxy 1.11.0. It contains a lot of major and minor improvements.

The latest release is available at: https://pypi.python.org/pypi/MapProxy

To upgrade within your virtualenv:

$ pip install --upgrade --no-deps MapProxy

Updated documentation is available at: https://mapproxy.org/docs/1.11.0/

Improved support for ArcGIS compact caches

MapProxy now also supports version 2 of the ArcGIS compact cache format. The performance for version 1 was improved as well.

The new tool mapproxy-util defrag can be used to reduce the size of compact cache bundle safter tiles were removed/updated.

See: https://mapproxy.org/docs/1.11.0/caches.html#compact and https://mapproxy.org/docs/1.11.0/mapproxy_util.html#defrag-compact-cache

Improved reprojection

The accuracy for reprojections on low map scales improved while the performance improved for mid to high map scales.

Improved HTTPS handling

MapProxy now uses CA certificates provided by your system if you use Python >=2.7.9 or >=3.4. The ssl_no_cert_checks option was broken with these Python versions. This is now fixed. The ssl_ca_certs option is still available for older systems, or for custom CA certificates.

See: https://mapproxy.org/docs/1.11.0/configuration.html#secure-http-connections-https

Other fixes and changes

There are a lot more changes and improvements. Please note that Python 2.6 is no longer supported.

For a complete list of see: http://github.com/mapproxy/mapproxy/blob/1.11.0/CHANGES.txt

Andrea Antonello: Geopaparazzi 5.5.0 is out

Planet OSGeo feeds - Mon, 11/20/2017 - 14:56
I know this should have been about Hortonmachine tools for gvSIG, but as it happens, the job came in between and we are now releasing Geopaparazzi 5.5.0.

Two lines are mandatory, since there are a few new features. They are very few actually, since this should have been only a bugfix release.

Therefore many bugs have been fixed. Please continue to send them in via the ACRA integration.

Major features:

  1. integration of the Geoss2Go project to create profiles in geopaparazzi. I wrote a complete description of the tool in this post. Now this is all available through the "Profiles" entry in the dashboard menu.
  2. use of vector icons for dashboard and map tools, so that they adapt to style changes. Important for customized versions. This makes a great user experience, since these icons adapt very well to different resolutions and devices. As a drawback, all the icons had to be replaced and re-done. The once you will find most different are for sure those of the editing tools. Below a few screenshots:


gvSIG Team: SIG aplicado a Gestión Municipal: Módulo 12 ‘Geoprocesamiento’

Planet OSGeo feeds - Mon, 11/20/2017 - 11:36

Ya está disponible el duodécimo módulo del curso de SIG para Gestión Municipal, donde veremos algunas de las herramientas de geoprocesamiento.

gvSIG tiene más de 250 geoprocesos disponibles, tanto para capas ráster como para vectoriales, que nos permiten realizar distintos tipos de análisis, como por ejemplo para obtener las zonas óptimas para situar un tipo de infraestructura concreta.

Con los geoprocesos disponibles podemos por ejemplo realizar áreas de influencia, para ver, entre otras cosas, el área de afección de una carretera, vía de ferrocarril… Después se puede realizar una intersección con una capa de parcelas para ver que parte de cada una se debería expropiar. También podemos realizar recortes de capas, análisis hidrológico…

La cartografía a utilizar en este vídeo la podéis descargar desde el siguiente enlace.

El vídeo de este duodécimo módulo es el siguiente:

Post relacionados:

Filed under: gvSIG Desktop, spanish, training Tagged: Análisis, geoprocesamiento

Fernando Quadro: Gerando pontos aleatórios dentro de uma geometria

Planet OSGeo feeds - Mon, 11/20/2017 - 11:30

Você sabia que PostGIS 2.3 apresentava uma função muito útil para gerar pontos dentro de uma área de polígono ou multi-polígono?

A função ST_GeneratePoints converte um polígono ou multi-polígono em um multi-ponto composto por pontos de localização aleatórios dentro das áreas originais do polígono.

Para criar os pontos dentro da geometria, você pode proceder da seguinte maneira:

SELECIONE ST_GeneratePoints (     ST_Buffer (         ST_GeomFromText (         'LINESTRING (50 50,150 150,150 50)'         ), 10, 'endcap=round join=round'), 12);

Fonte: PostGIS Rocks

gvSIG Team: 13as Jornadas Internacionales gvSIG. Ponencias y talleres disponibles

Planet OSGeo feeds - Mon, 11/20/2017 - 10:20

Ya se encuentran disponibles las presentaciones realizadas en las 13as Jornadas Internacionales gvSIG, que se celebraron los días 18 y 19 de octubre de 2017 en Valencia (España).

También está disponible la grabación de las mismas y de algunos los talleres, para ser visualizados online. Los vídeos se encuentran disponibles en su idioma original, habiendo presentaciones en español e inglés.

Los talleres que se impartieron durante las jornadas, de los cuales está disponible la grabación para poder seguirlos, fueron sobre “gvSIG Online y gvSIG Mobile” y “Desarrollo avanzado en gvSIG con Scripting”, ambos en español.

El taller sobre “Hydro-geomorphological Modelling in gvSIG with the JGrasstools plugins” en inglés, que tuvo que ser cancelado, se realizará mediante la plataforma de webinar de la Asociación gvSIG en las próximas semanas. Se informará sobre ello en el blog de gvSIG.

Con la publicación de estos vídeos pretendemos acercar las Jornadas a todos aquellos interesados que no pudieron asistir, teniendo ahora la posibilidad de acceder a la grabación de las distintas sesiones y talleres.

Filed under: events, gvSIG Crime, gvSIG Desktop, gvSIG Mobile, gvSIG Online, gvSIG Roads, spanish, training Tagged: 13as Jornadas gvSIG, presentaciones

GIS for Thought: UK Postcode Breakdown RegEX

Planet OSGeo feeds - Mon, 11/20/2017 - 10:00

UK postcodes are broken down/divided into 4 levels: Areas, Districts, Sectors, and Units.

For G12 8QH the breakdown is:
Area – G
District – G12
Sector – G12 8
Unit – G12 8QH

See my previous post:
UK Postcode Format Breakdown/

This is just a note of the RegEX strings to extract these, which can be used in QGIS, or PostgreSQL. These are a bit complex for most datasets, but should work independent on whether spaces and how many were used between the in and out codes. Should also work for London postcodes.

RegEX: ^[a-zA-Z][a-zA-Z]?
PostgreSQL: substring(postcode, '^[a-zA-Z][a-zA-Z]?')
QGIS: regexp_substr("postcode" , '(^[a-zA-Z][a-zA-Z]?)')

UK Postcode Area

RegEX: ^[a-zA-Z]+\d\d?[a-zA-Z]?
PostgreSQL: substring(postcode, '^[a-zA-Z]+\\d\\d?[a-zA-Z]?')
QGIS: regexp_substr("postcode" , '(^[a-zA-Z]+\\\\d\\\\d?[a-zA-Z]?)')

UK Postcode District

RegEX: ^[a-zA-Z]+\d\d?[a-zA-Z]?\s*\d+
PostgreSQL: substring(postcode, '^[a-zA-Z]+\\d\\d?[a-zA-Z]?\s*\d+')
QGIS: regexp_substr("postcode" , '(^[a-zA-Z]+\\\\d\\\\d?[a-zA-Z]?\\\\s*\\\\d+)')

UK Postcode Sector


I’ll let you figure this one out.

gvSIG Team: 4D en gvSIG Desktop, llegan los datos temporales

Planet OSGeo feeds - Fri, 11/17/2017 - 14:49

No he podido aguantar y os tengo que enseñar una de las (muchas) cosas en las que estamos trabajando. Datos temporales en gvSIG Desktop.

En los vídeos que enlazo veréis como asignamos primero la capacidad temporal a un shape (de delitos en la ciudad de Londres) con un campo que ni siquiera es de fecha (es un campo alfanumérico). A partir de ahí podemos consultar los datos en un instante o rango temporal determinado. Y, ya puestos, generar animaciones en la propia Vista. En el segundo vídeo, con una leyenda de mapa de calor, se aprecia todavía más la utilidad de estas herramientas.

¿Entendéis que no haya podido evitar dejaros ver ‘algo de lo que viene’?

Teaser 1:

Teaser 2:

Filed under: gvSIG Desktop, spanish Tagged: 4D, datos temporales, Tiempo

Fernando Quadro: Melhorias no estilo CSS do GeoServer

Planet OSGeo feeds - Fri, 11/17/2017 - 11:30

Na última atualização do GeoServer (2.12.0), a linguagem de estilo CSS e a interface de edição viram várias melhorias. O editor agora suporta auto complete de código primitivo, veja:

No nível de linguagem as dependências de escala agora também podem ser expressas usando a variável “@sd” (denominador de escala) e os valores podem usar sufixos comuns como k e M para obter valores mais legíveis, compare, por exemplo, “[@scale < 1000000]" com "[@sd < 1M]".

As funções de cores foram introduzidas para combinar com a funcionalidade LessCSS, como “Darken”, “Lighten”, “Saturate” e assim por diante. As mesmas funções foram disponibilizadas em todos os outros idiomas de estilo.

Chamar uma variável “env” foi facilitada, de “env (‘varName’)” para “@varName” (ou “@varName (defaultValue)” se você deseja fornecer um valor padrão.

Como você provavelmente já sabe, internamente o CSS é traduzido para o formato SLD para fins de renderização do mapa. Este processo de tradução tornou-se 50 vezes mais rápido em folhas de estilos grandes (como estradas OSM, um estilo particularmente complicado).

gvSIG Team: Publicado vídeo de taller de gvSIG Online y gvSIG Mobile

Planet OSGeo feeds - Fri, 11/17/2017 - 10:12

En las pasadas Jornadas Internacionales de gvSIG se impartió un taller de introducción al uso de gvSIG Online para la administración de Infraestructuras de Datos Espaciales y generación de geoportales, viendo también su integración con gvSIG Mobile, la solución de SIG móvil para toma de datos en campo y elaboración de encuestas geoposicionadas.

Para todos aquellos que tengáis interés en conocer un poco más de gvSIG Online, ya está disponible la grabación:

Filed under: geoportal, gvSIG Desktop, gvSIG Mobile, gvSIG Suite, IDE, software libre, spanish

BostonGIS: Happy PostGIS Day 2017

Planet OSGeo feeds - Fri, 11/17/2017 - 00:51

To commemorate PostGIS Day 2017, I put together a 3D scene listing my favorite functions.

You can see it PostGIS Day in 3D

Jackie Ng: Announcing: MapGuide Maestro 6.0m8

Planet OSGeo feeds - Fri, 11/17/2017 - 00:10
Here's another new milestone of MapGuide Maestro 6.0. This release is somewhat light in new features, with more emphasis on changes under-the-hood and the surrounding ecosystem.

Let's start with the new features first.

Feature Count for Thematic Rules

When dealing with thematic layers, sometimes one might want to know exactly how many features are covered by each thematic layer rule. There's now a Feature Count button to crunch those numbers for you.

Clicking it will crunch the feature counts of each individual style rule with a filter (default rule is omitted) and present the totals in a new dialog.

MgTileSeeder (the successor to MgCooker)
Not bundled with Maestro yet, but included as a standalone package available for download alongside this release is MgTileSeeder, a new command-line tile seeding application that is the successor to MgCooker and will eventually replace it in a future release.
I'll cover this tool in more detail in a future post.
New project site
Since MapGuide Maestro is now on GitHub, I've activated the GitHub Pages feature and spun up a new project web site for it.
On this site you will also find the user guide, developer's guide and the API reference for Maestro API and friends.
So speaking of Maestro API ...
Where's the SDK package?
The SDK story is going through a bit of churn at the moment. This milestone release is primarily focused around Maestro (the application) and not the API/SDK, so whatever things I had intended to finish regarding the Maestro API/SDK have taken a back seat so I can get Maestro (the application) out the door.
So as it stands, there is no SDK package with this release and there never will be with any future releases. This is due to major under-the-hood work to port the MapGuide Maestro API and supporting libraries over to target .net standard.
The end result of this is that the primary way to acquire the Maestro API is now via a NuGet package
And since the API reference is now online, this makes the SDK package somewhat redundant.
The various sample code and supporting tools in the SDK have been shipped off to a separate repository, that will be revealed in due course once they have all been updated to work in this new .net world we live in.
If you are an existing consumer of the Maestro API, it should be as simple as removing all your current assembly references to Maestro API and friends and installing the NuGet packages in the affected projects.
.net Framework 4.6.1 required
Due to porting the Maestro API to target .net standard 2.0, .net Framework 4.6.1 is the minimum version of the .net Framework required.
The Windows installer will automatically download and install this for you if you don't have it. It will also automatically install the Visual C++ redistributable so the local connection (mg-desktop) mode will also work out of the box.
Other changes/fixes
  • Fix a long standing annoyance where setting WMS bounds on a published layer will set the coordinate system to EPSG:???? requiring you to manually enter in the EPSG code. This should now be automatic most of the time. It will also be automatically transformed to EPSG:4326 bounds if required.
  • Now uses ICSharpCode.TextEditor for dialog to edit raw resource header XML
  • New resources validation rules around WMS-published Layer Definitions
  • Basic line styles no longer trashed on cancellation of the Edit Style dialog
  • Can now read configuration documents where FDO-related attributes have incorrect casing
  • No-op any map viewer rendering requests if any display parameter is <= 0
  • Disable local map preview if connecting to a MapGuide Server older than 2.1
  • Fusion editor no longer adds obsolete VirtualEarthScript element when adding Bing Maps layers
  • Now gracefully handles invalid resources with open editors instead of crashing out to desktop.

DownloadProject web site


Subscribe to soilinformationstandards.org aggregator