Tag Info

New answers tagged

0

A TAB file can contain multiple object types at one time, both points, lines, polygons etc. But starting from byte 316 in the map file you can read number of points, number of lines, number of polygons and finally number of text objects. That was 4 int32 integers. But I am not sure if that information is still uptodate, considering more object types has been ...


2

Have you tried using a Group-By in the NetworkCostCalculator? i.e. you group-by on a bus stop ID and the transformer runs once per bus stop feature Otherwise, as noted above, the WorkspaceRunner is your friend here. Edit: In fact, now I think on it, the Group-By would be more efficient. It should only need the network once for all bus stops - whereas if ...


3

you could do it in a pythonCaller transformer see fmeobjects python API Reference: http://docs.safe.com/fme/html/FME_Objects_Python_API/fmeobjects.FMEWorkspaceRunner-class.html import fmeobjects for s in bus_stops runner = fmeobjects.FMEWorkspaceRunner() #workspace is a path and parameters is a key value dict ...


0

Snap tolerance is saved in the project file. So it may help to create a new project file, adding all layers one by one. Or investigate the .qgs file with a good text editor (like notepad++).


0

You might test the idea that you have non-compliant data in your layer. Create a new layer by making a very small buffer (0.0001 m for instance) and then carry out the operation on that. There are also tools in the vector menu to test for errors in the data.


1

I haven't used any features which require Snapping so this is not a difinitive answer but I hope it might lead you to some kind of solution: Settings > Options... > Digitizing Check that the Default snap mode is not off. You may need to add a value for the tolerance. Afterwards, you can access the options for snapping via Settings > Snapping Options... ...


1

Here's solution in C#: private const double MinLatitude = -85.05112878; private const double MaxLatitude = 85.05112878; private const double MinLongitude = -180; private const double MaxLongitude = 180; public static Tuple<int, int> LatLongToTileXY(double latitude, double longitude, int z) { int tileX; int ...


1

Here's an example for C# for an envelope (i.e. polygon bounding box). This will grab extra tiles for irregular polygons, avoiding that will be complex. The Envelope class is this method is a MapDotNet object but it should be pretty obvious what the fields mean. /// <summary> /// Gets the quad tree node indicies. /// Returns the min x,y ...


3

If you selected your features by some attribute, then simply set that as a rule for the style (under Layer Properties), or use the attribute to adjust the global style by using the data-driven capabilities of the style manager. If you selection was just a bunch of features you selected by hand that have no common, defining attribute, then I suggest, since ...


2

Something like this should work: Use the IN (Include) instead of = (equal) LINK IN ('28','56')



Top 50 recent answers are included