[mapguide-commits] r9610 - in sandbox/jng/mvt_alt: . Common/Foundation/Data Server/src/Services/Tile
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Sat Sep 21 13:18:15 PDT 2019
Author: jng
Date: 2019-09-21 13:18:15 -0700 (Sat, 21 Sep 2019)
New Revision: 9610
Modified:
sandbox/jng/mvt_alt/
sandbox/jng/mvt_alt/Common/Foundation/Data/ByteSink.cpp
sandbox/jng/mvt_alt/Server/src/Services/Tile/TileCacheXYZProvider.cpp
Log:
Merged revision(s) 9535, 9537 from sandbox/jng/mvt:
Ensure MVT tiles are saved with a .mvt extension in their designated tile cache path.
........
Allow MgByteSink.ToStringUtf8() to be called for MVT byte readers.
........
Index: sandbox/jng/mvt_alt
===================================================================
--- sandbox/jng/mvt_alt 2019-09-21 20:14:42 UTC (rev 9609)
+++ sandbox/jng/mvt_alt 2019-09-21 20:18:15 UTC (rev 9610)
Property changes on: sandbox/jng/mvt_alt
___________________________________________________________________
Modified: svn:mergeinfo
## -19,7 +19,7 ##
/sandbox/jng/fusion_entrypoint_refactor:9400-9406
/sandbox/jng/geoprocessing:9205-9229
/sandbox/jng/geos34x:8256-8259
-/sandbox/jng/mvt:9527-9528
+/sandbox/jng/mvt:9527-9528,9535,9537
/sandbox/jng/ogc:9240-9255
/sandbox/jng/php56x:8975-8985
/sandbox/jng/querymapfeatures_selectionkey:9590-9591
Modified: sandbox/jng/mvt_alt/Common/Foundation/Data/ByteSink.cpp
===================================================================
--- sandbox/jng/mvt_alt/Common/Foundation/Data/ByteSink.cpp 2019-09-21 20:14:42 UTC (rev 9609)
+++ sandbox/jng/mvt_alt/Common/Foundation/Data/ByteSink.cpp 2019-09-21 20:18:15 UTC (rev 9610)
@@ -80,6 +80,7 @@
if (!mimeType.empty()
&& mimeType.find(L"text") == STRING::npos
+ && MgMimeType::Mvt != mimeType
&& MgMimeType::Binary != mimeType)
{
// Note that the mime type of resource data is determined by the
Modified: sandbox/jng/mvt_alt/Server/src/Services/Tile/TileCacheXYZProvider.cpp
===================================================================
--- sandbox/jng/mvt_alt/Server/src/Services/Tile/TileCacheXYZProvider.cpp 2019-09-21 20:14:42 UTC (rev 9609)
+++ sandbox/jng/mvt_alt/Server/src/Services/Tile/TileCacheXYZProvider.cpp 2019-09-21 20:18:15 UTC (rev 9610)
@@ -143,6 +143,10 @@
{
return L"utfgrid";
}
+ else if (m_format == L"MVT")
+ {
+ return L"mvt";
+ }
else
{
return L"png";
More information about the mapguide-commits
mailing list