User Tools

Site Tools


map_suite_services_edition_miscellaneous_samples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
map_suite_services_edition_miscellaneous_samples [2016/03/29 09:52]
tgwikiupdate
map_suite_services_edition_miscellaneous_samples [2017/03/17 03:07] (current)
tgwikiupdate
Line 31: Line 31:
 </​div>​ </​div>​
 <div sample_otherlinks>​ <div sample_otherlinks>​
-[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]] +[
-\\ +
-[[Map Suite Samples Alternate Languages | Need it in another language?​]] +
-</​div>​ +
-This [[http://​download.thinkgeo.com/​Videos/​Wiki/​MapSuite_Cache_Generator.wmv|video]] will show you how to use the Map Suite Tile Cache Generator utility to generate tile caches based on your own layers. ​ Pre-generating tiles based on your data allows you to display the data faster than rending it from vector graphics files. ​ It also allows you to protect your vector data by providing just the raster tiles for display purposes only.  In the past, pre-generating tiles required customers to build the process from scratch which was time consuming and often inefficient. ​ With the Tile Cache Generator utility, we have packaged many of our best practices along with the source code, allowing you to tweak the process to your specific situation. +
-</​div>​ +
-</​div>​ +
- +
----- +
-<div sampleitem>​ +
-====  TinyGeo File Format Sample and Converter ​ ==== +
-<div screenshot>​ +
-{{servicesedition:​codesamples:​Map Suite Services Edition Sample TinyGeo Displayer and Converter.jpg?​300x180}} +
-</​div>​ +
-<div content>​ +
-<div download_viewsource_buttons>​ +
-{{filehistory:​ServicesEditionSample_TinyGeoDisplayerAndConverter_CS_111216.zip|C#​ Download}} +
-</​div>​ +
-<div sample_otherlinks>​ +
-[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]] +
-\\ +
-[[Map Suite Samples Alternate Languages | Need it in another language?​]] +
-</​div>​ +
-This project provides a sample of how to use the new TinyGeo file format as well as provides an easy to use converter tool for shapefiles. The goal of the TinyGeo file format was to provide our customers with a highly compressed, read only, secure, and  easily distributable data file that they could use to disseminate spatial data to their customers. \\ Note:This is a new beta feature of Map Suite 6.0 and only works with Map Suite developer build 5.5.36.0 or later. +
-</​div>​ +
-</​div>​ +
- +
----- +
-<div sampleitem>​ +
-====  Serialize To Xml  ==== +
-<div screenshot>​ +
-{{servicesedition:​codesamples:​Map Suite Services Edition Sample Serialize To Xml Sample.jpg?​300x180}} +
-</​div>​ +
-<div content>​ +
-<div download_viewsource_buttons>​ +
-[[Source_Code_ServicesEditionSample_SerializeToXmlSample_CS_111213.zip|View Source]] +
-{{filehistory:​ServicesEditionSample_SerializeToXmlSample_CS_111213.zip|C#​ Download}} +
-</​div>​ +
-<div sample_otherlinks>​ +
-[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]] +
-\\ +
-[[Map Suite Samples Alternate Languages | Need it in another language?​]] +
-</​div>​ +
-This sample shows you how to serialize objects in Map Suite to XML and then deserialze them back to objects. ​ This is usefully in many GIS mapping application to save the state of styles, layers, projections or just about anything. ​ The XML is readable and well formatted, great for working with in you GIS application. +
-</​div>​ +
-</​div>​ +
- +
----- +
-<div sampleitem>​ +
-====  Code Generator ​ ==== +
-<div screenshot>​ +
-{{servicesedition:​codesamples:​Map Suite Services Edition Sample Code Generator Sample.jpg?​300x180}} +
-</​div>​ +
-<div content>​ +
-<div download_viewsource_buttons>​ +
-[[Source_Code_ServicesEditionSample_CodeGeneratorSample_CS_111213.zip|View Source]] +
-{{filehistory:​ServicesEditionSample_CodeGeneratorSample_CS_111213.zip|C#​ Download}} +
-</​div>​ +
-<div sample_otherlinks>​ +
-[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]] +
-\\ +
-[[Map Suite Samples Alternate Languages | Need it in another language?​]] +
-</​div>​ +
-This sample shows you how to generate source code calls from Map Suite objects. ​ Imagine that you have a Layer that has been styled a particular way and uses a certain projection. ​ Once the object is created you can pass it to the code generator and it will create source code to re-create the model passed in.  This is very helpful especially in GIS applications where users define things through a custom UI but then want to leverage that in code. +
-</​div>​ +
-</​div>​ +
- +
----- +
-<div sampleitem>​ +
-====  Current Extent to Bitmap ​ ==== +
-<div screenshot>​ +
-{{servicesedition:​codesamples:​Map Suite Services Edition Sample Current Extent To Bitmap.jpg?​300x180}} +
-</​div>​ +
-<div content>​ +
-<div download_viewsource_buttons>​ +
-[[Source_Code_ServicesEditionSample_CurrentExtentToBitmap_CS_100827.zip|View Source]] +
-{{filehistory:​ServicesEditionSample_CurrentExtentToBitmap_CS_100827.zip|C#​ Download}} +
-</​div>​ +
-<div sample_otherlinks>​ +
-[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]] +
-\\ +
-[[Map Suite Samples Alternate Languages | Need it in another language?​]] +
-</​div>​ +
-In today’s project we learn how to convert to bitmap the current extent of the map. In order to have the bitmap georeferenced or being tied to the ground an accompanying world file needs to be created. That way it can be used as an image layer along with the other layers of the same projection (in this case geodetic). To test the result, you can load the bitmap to Map Suite Explorer and add a vector layer in geodetic to see how the two layers align with each other. +
-</​div>​ +
-</​div>​ +
- +
----- +
-<div sampleitem>​ +
-====  Generate EMF using GraphicsGeoCanvas ​ ==== +
-<div screenshot>​ +
-{{servicesedition:​codesamples:​Map Suite Services Edition Sample Generate EMF using GraphicsGeoCanvas.jpg?​300x180}} +
-</​div>​ +
-<div content>​ +
-<div download_viewsource_buttons>​ +
-[[Source_Code_ServicesEditionSample_UsingGraphicsGeoCanvas_CS_120911.zip|View Source]] +
-{{filehistory:​ServicesEditionSample_UsingGraphicsGeoCanvas_CS_120911.zip|C#​ Download}} +
-</​div>​ +
-<div sample_otherlinks>​ +
-[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]] +
-\\ +
-[[Map Suite Samples Alternate Languages | Need it in another language?​]] +
-</​div>​ +
-This sample shows how you can generate an EMF file using GraphicsGeoCanvas,​ which is a custom GeoCanvas with the source available in the attached sample. Not just EMF in fact, we can draw on any passed Graphics object which can be a lot of formats. ​ This sample works with 6.0.121.0/​6.0.0.121 or later. +
-</​div>​ +
-</​div>​ +
- +
----- +
-<div sampleitem>​ +
-====  Raster Layer to Bitmap ​ ==== +
-<div screenshot>​ +
-{{servicesedition:​codesamples:​Map Suite Services Edition Sample Raster Layer to Bitmap.jpg?​300x180}} +
-</​div>​ +
-<div content>​ +
-<div download_viewsource_buttons>​ +
-[[Source_Code_ServicesEditionSample_RasterLayerToBitmap_CS_100903.zip|View Source]] +
-{{filehistory:​ServicesEditionSample_RasterLayerToBitmap_CS_100903.zip|C#​ Download}} +
-</​div>​ +
-<div sample_otherlinks>​ +
-[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]] +
-\\ +
-[[Map Suite Samples Alternate Languages | Need it in another language?​]] +
-</​div>​ +
-Today’s project is comparable to “Current Extent to Bitmap” project where we learned how to convert the current extent of the map to bitmap with its accompanying world file. Here we learn how to get the bitmap of a raster layer (in our example a Mr Sid image) and convert it to bitmap. We learn some techniques such as how to get the image size of the raster layer using ExtentHelper static functions and how to manipulate GeoImage. This project brings a good foundation for building applications converting different image formats. +
-</​div>​ +
-</​div>​ +
- +
----- +
-<div sampleitem>​ +
-====  Show A Legend ​ ==== +
-<div screenshot>​ +
-{{servicesedition:​codesamples:​ShowALegend.jpg?​300x180}} +
-</​div>​ +
-<div content>​ +
-<div download_viewsource_buttons>​ +
-[[Source_Code_WpfEditionSample_ShowALegend_CS_110520.zip|View Source]] +
-{{filehistory:​WpfEditionSample_ShowALegend_CS_110520.zip|C#​ Download}} +
-</​div>​ +
-<div sample_otherlinks>​ +
-[[Map Suite Samples Applies To|Applies To: Desktop \ Web \ Silverlight \ Services \ Wpf ]] +
-\\ +
-[[Map Suite Samples Alternate Languages | Need it in another language?​]] +
-</​div>​ +
-In today’s project we learn how to display a simple legend using the new and improved LegendAdornmentLayer. ​ The improved LegendAdornmentLayer is new to the MapSuite 5.0 release and provides an easy to use api for creating legend adornments. ​ The LegendAdornmentLayer is part of MapSuite.Core which gives all MapSuite products access to this powerful ​ new feature. +
-</​div>​ +
-</​div>​ +
- +
----- +
-<div sampleitem>​ +
-====  ShapeFile to WkbFile Converter ​ ==== +
-<div screenshot>​ +
-{{servicesedition:​codesamples:​ShpToWkbConverter.jpg?​300x180}} +
-</​div>​ +
-<div content>​ +
-<div download_viewsource_buttons>​ +
-{{filehistory:​ServicesEdition_ShpToWkbConverter_20150625.zip|C#​ Download}} +
-</​div>​ +
-<div sample_otherlinks>​ +
-[[Map Suite Samples Applies To|Applies To: ServiceEdition]] +
-\\ +
-[[Map Suite Samples Alternate Languages | Need it in another language?​]] +
-</​div>​ +
-This is a utility that converts data from Shapefile to Wkbfile. WKBfile may be a good option for rendering performance.  +
-</​div>​ +
-</​div>​ +
- +
----- +
-<div sampleitem>​ +
-====  Geocoder Data Reducer ​ ==== +
-<div screenshot>​ +
-{{servicesedition:​codesamples:​GeocoderDataReducer.jpg?​300x180}} +
-</​div>​ +
-<div content>​ +
-<div download_viewsource_buttons>​ +
-{{filehistory:​ServicesEdition_GeocoderDataReducer_20160222.zip|C#​ Download}} +
-</​div>​ +
-<div sample_otherlinks>​ +
-[[Map Suite Samples Applies To|Applies To: ServiceEdition]] +
-\\ +
-[[Map Suite Samples Alternate Languages | Need it in another language?​]] +
-</​div>​ +
-The Geocoder Data Reducer is a utility that allows you to create a new smaller geocoder index for specific states in the United States. You simply specify the directory of ThinkGeo full Geocoder Index files, select the states you want to reduce it to, the output folder, and the utility will create the new reduced index. Depending on the state the process may take up to a couple of hours to process.  +
-</​div>​ +
-</​div>​ +
- +
----- +
-<div sampleitem>​ +
-====  COGO  ==== +
-<div screenshot>​ +
-{{servicesedition:​codesamples:​cogosample.png?​300x180}} +
-</​div>​ +
-<div content>​ +
-<div download_viewsource_buttons>​ +
-{{filehistory:​cogocallsample.zip|C#​ Download}} +
-</​div>​ +
-<div sample_otherlinks>​ +
-[[Map Suite Samples Applies To|Applies To: ServiceEdition]] +
-\\ +
-[[Map Suite Samples Alternate Languages | Need it in another language?​]] +
-</​div>​ +
-The Geocoder Data Reducer is a utility that allows you to create a new smaller geocoder index for specific states in the United States. You simply specify the directory of ThinkGeo full Geocoder Index files, select the states you want to reduce it to, the output folder, and the utility will create the new reduced index. Depending on the state the process may take up to a couple of hours to process.  +
-</​div>​ +
-</​div>​+
map_suite_services_edition_miscellaneous_samples.1459245167.txt.gz · Last modified: 2016/03/29 09:52 by tgwikiupdate