// Create a map
using (var map = new Aspose.Gis.Rendering.Map(800, 400))
{
    // Use the specified SRS
    map.SpatialReferenceSystem = Aspose.Gis.SpatialReferencing.SpatialReferenceSystem.Wgs84;

    // Use the specified style to draw lines
    // We also have styles for points, lines, and surfaces.
    var symbolizer = new Aspose.Gis.Rendering.Symbolizers.SimpleLine() { Width = Aspose.Gis.Rendering.Measurement.Pixels(2) };
    // Open a layer and add to the map
    map.Add(Aspose.Gis.VectorLayer.Open(dataDir + "land.shp", Aspose.Gis.Drivers.Shapefile), symbolizer);

    // Render the map to Svg format
    map.Render(dataDir + "land_out.svg", Aspose.Gis.Rendering.Renderers.Svg);
}