We will build against the 12c R2 instant client SDK
We will target JDK8 + Tomcat 9
#!markdown | |
# HOWTO: Render a map image using the MapGuide Maestro API | |
#!markdown | |
Firstly, add a reference to the [`OSGeo.MapGuide.MaestroAPI`](https://www.nuget.org/packages/OSGeo.MapGuide.MaestroAPI) package on NuGet | |
#!csharp |
FROM ubuntu:16.04 as vcpkg-build | |
RUN apt-get clean \ | |
&& apt-get update \ | |
&& apt-get install -y software-properties-common \ | |
&& add-apt-repository ppa:ubuntu-toolchain-r/test -y \ | |
&& apt-get update | |
RUN apt-get install -y build-essential g++-7 git curl unzip tar p7zip-full libxxf86vm-dev \ | |
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70 \ |
#include "MyRenderer.h" | |
MyRenderer::MyRenderer() | |
: m_activeLayer(nullptr), m_mapInfo(nullptr), m_layerInfo(nullptr), m_fcInfo(nullptr) | |
{ | |
} | |
MyRenderer::~MyRenderer() | |
{ |
Re: http://osgeo-org.1560.x6.nabble.com/Localization-with-Accents-td5393429.html | |
I did a quick and dirty french Google Translate on some of the command names in an example Flexible Layout and loaded it in both the | |
unified and individual entrypoint templates and could not reproduce the problem. The accented characters of the french translations show | |
properly regardless of the setting of `locale`. Screenshot to be included below. | |
Attached is the flex layout I used with some french translations. One thing to note is that I don't have the characters xml-entity-encoded | |
in my flex layout. The raw accented characters are in the XML content. Is this the case for yours? |
//Some example interface | |
interface IGeographicCoordinate { | |
lat: number; | |
lng: number; | |
} | |
interface IPlacemark { | |
id: number; | |
coordinate: IGeographicCoordinate; | |
name: string; |
provider=MySql;service=fdodb;username=root;password=fdotest;clean=false; |
/** | |
* All code fragments here listed for informational purposes. Do not expect to copy/paste this code and expect it to compile | |
* | |
* All examples here assume we work against a point feature source at Library://Test.FeatureSource with a feature class structured like so: | |
* | |
* Schema: Default | |
* Class: Points | |
* Properties: | |
* ID: int (identity) | |
* Name: string |
-- Put in a default spatial context entry | |
insert into spatial_ref_sys(srid, sr_name) | |
values (1, 'Default') | |
-- Make all geometry columns point to it | |
update geometry_columns | |
set srid = 1 |
#include <iconv.h> | |
#include <stdio.h> | |
int main(int argc, char** argv) | |
{ | |
iconv_t r = iconv_open("UTF-8", "WCHAR_T"); | |
if ((iconv_t)-1 != r) | |
{ | |
iconv_close(r); | |
printf("iconv_open() worked!\n"); |