Skip to main content
added info to answer
Source Link
Alex Markov
  • 4k
  • 23
  • 34

I think in order to get central meridian or latitute of origin we have to get centroid coordinates for our area of interest. Or may be min/max coordinates for all features. And then use this coordinates to calculate central meridian or latitute of origin.

I will try to describe main ideas:

  1. Take some input features from your map (roads, vegetation, etc). Or may be all of them.
  2. Generate one bounding box for all these features (for all roads, for example). In FME it can be done using BoundingBoxAccumulator transformer. Or instead of bounding box you can use ConvexHull polygon for more precise calculations. In FME: HullAccumulator.
  3. Extract centroid coordinates of this one polygon. FME: InsidePointExtractor. Or if you want to use min/max coordinates you can use BoundsExtractor transformer.
  4. Use centroid coordinates for your calculations to determine values of your central meridian, zone number and other needed values.

EDIT1 (answer to first comment):

As far as I see there is no straight way to link coordinate systems parameter in ESRIReprojector transformer to external parameter.

But I believe there is a possibility to use @Reproject function. It has parameter to choose ESRI reprojection engine. And all other parameters you can pass to it in run-time.

I think you can try to use transformer TCLCaller in order to use this function.

I think in order to get central meridian or latitute of origin we have to get centroid coordinates for our area of interest. Or may be min/max coordinates for all features. And then use this coordinates to calculate central meridian or latitute of origin.

I will try to describe main ideas:

  1. Take some input features from your map (roads, vegetation, etc). Or may be all of them.
  2. Generate one bounding box for all these features (for all roads, for example). In FME it can be done using BoundingBoxAccumulator transformer. Or instead of bounding box you can use ConvexHull polygon for more precise calculations. In FME: HullAccumulator.
  3. Extract centroid coordinates of this one polygon. FME: InsidePointExtractor. Or if you want to use min/max coordinates you can use BoundsExtractor transformer.
  4. Use centroid coordinates for your calculations to determine values of your central meridian, zone number and other needed values.

I think in order to get central meridian or latitute of origin we have to get centroid coordinates for our area of interest. Or may be min/max coordinates for all features. And then use this coordinates to calculate central meridian or latitute of origin.

I will try to describe main ideas:

  1. Take some input features from your map (roads, vegetation, etc). Or may be all of them.
  2. Generate one bounding box for all these features (for all roads, for example). In FME it can be done using BoundingBoxAccumulator transformer. Or instead of bounding box you can use ConvexHull polygon for more precise calculations. In FME: HullAccumulator.
  3. Extract centroid coordinates of this one polygon. FME: InsidePointExtractor. Or if you want to use min/max coordinates you can use BoundsExtractor transformer.
  4. Use centroid coordinates for your calculations to determine values of your central meridian, zone number and other needed values.

EDIT1 (answer to first comment):

As far as I see there is no straight way to link coordinate systems parameter in ESRIReprojector transformer to external parameter.

But I believe there is a possibility to use @Reproject function. It has parameter to choose ESRI reprojection engine. And all other parameters you can pass to it in run-time.

I think you can try to use transformer TCLCaller in order to use this function.

removed edit by another user - should be a comment
Source Link
Mapperz
  • 50.2k
  • 9
  • 75
  • 133

I think in order to get central meridian or latitute of origin we have to get centroid coordinates for our area of interest. Or may be min/max coordinates for all features. And then use this coordinates to calculate central meridian or latitute of origin.

I will try to describe main ideas:

  1. Take some input features from your map (roads, vegetation, etc). Or may be all of them.
  2. Generate one bounding box for all these features (for all roads, for example). In FME it can be done using BoundingBoxAccumulator transformer. Or instead of bounding box you can use ConvexHull polygon for more precise calculations. In FME: HullAccumulator.
  3. Extract centroid coordinates of this one polygon. FME: InsidePointExtractor. Or if you want to use min/max coordinates you can use BoundsExtractor transformer.
  4. Use centroid coordinates for your calculations to determine values of your central meridian, zone number and other needed values.

Hello Alex, Thanks for an swift answer. I'm aware how to calculate the center point of my AOI. Maybe I was not too much clear in my original post but the problem actually is how to automatically pass the values of earlier calculated projection focal point (this is the case you describe) to reprojector trasnformer. Do i have to do it manually via parameterfetcher (would love to avoid it) or EsriReprojector can somehow pick up it automatically ?

I think in order to get central meridian or latitute of origin we have to get centroid coordinates for our area of interest. Or may be min/max coordinates for all features. And then use this coordinates to calculate central meridian or latitute of origin.

I will try to describe main ideas:

  1. Take some input features from your map (roads, vegetation, etc). Or may be all of them.
  2. Generate one bounding box for all these features (for all roads, for example). In FME it can be done using BoundingBoxAccumulator transformer. Or instead of bounding box you can use ConvexHull polygon for more precise calculations. In FME: HullAccumulator.
  3. Extract centroid coordinates of this one polygon. FME: InsidePointExtractor. Or if you want to use min/max coordinates you can use BoundsExtractor transformer.
  4. Use centroid coordinates for your calculations to determine values of your central meridian, zone number and other needed values.

Hello Alex, Thanks for an swift answer. I'm aware how to calculate the center point of my AOI. Maybe I was not too much clear in my original post but the problem actually is how to automatically pass the values of earlier calculated projection focal point (this is the case you describe) to reprojector trasnformer. Do i have to do it manually via parameterfetcher (would love to avoid it) or EsriReprojector can somehow pick up it automatically ?

I think in order to get central meridian or latitute of origin we have to get centroid coordinates for our area of interest. Or may be min/max coordinates for all features. And then use this coordinates to calculate central meridian or latitute of origin.

I will try to describe main ideas:

  1. Take some input features from your map (roads, vegetation, etc). Or may be all of them.
  2. Generate one bounding box for all these features (for all roads, for example). In FME it can be done using BoundingBoxAccumulator transformer. Or instead of bounding box you can use ConvexHull polygon for more precise calculations. In FME: HullAccumulator.
  3. Extract centroid coordinates of this one polygon. FME: InsidePointExtractor. Or if you want to use min/max coordinates you can use BoundsExtractor transformer.
  4. Use centroid coordinates for your calculations to determine values of your central meridian, zone number and other needed values.

I think in order to get central meridian or latitute of origin we have to get centroid coordinates for our area of interest. Or may be min/max coordinates for all features. And then use this coordinates to calculate central meridian or latitute of origin.

I will try to describe main ideas:

  1. Take some input features from your map (roads, vegetation, etc). Or may be all of them.
  2. Generate one bounding box for all these features (for all roads, for example). In FME it can be done using BoundingBoxAccumulator transformer. Or instead of bounding box you can use ConvexHull polygon for more precise calculations. In FME: HullAccumulator.
  3. Extract centroid coordinates of this one polygon. FME: InsidePointExtractor. Or if you want to use min/max coordinates you can use BoundsExtractor transformer.
  4. Use centroid coordinates for your calculations to determine values of your central meridian, zone number and other needed values.

Hello Alex, Thanks for an swift answer. I'm aware how to calculate the center point of my AOI. Maybe I was not too much clear in my original post but the problem actually is how to automatically pass the values of earlier calculated projection focal point (this is the case you describe) to reprojector trasnformer. Do i have to do it manually via parameterfetcher (would love to avoid it) or EsriReprojector can somehow pick up it automatically ?

I think in order to get central meridian or latitute of origin we have to get centroid coordinates for our area of interest. Or may be min/max coordinates for all features. And then use this coordinates to calculate central meridian or latitute of origin.

I will try to describe main ideas:

  1. Take some input features from your map (roads, vegetation, etc). Or may be all of them.
  2. Generate one bounding box for all these features (for all roads, for example). In FME it can be done using BoundingBoxAccumulator transformer. Or instead of bounding box you can use ConvexHull polygon for more precise calculations. In FME: HullAccumulator.
  3. Extract centroid coordinates of this one polygon. FME: InsidePointExtractor. Or if you want to use min/max coordinates you can use BoundsExtractor transformer.
  4. Use centroid coordinates for your calculations to determine values of your central meridian, zone number and other needed values.

I think in order to get central meridian or latitute of origin we have to get centroid coordinates for our area of interest. Or may be min/max coordinates for all features. And then use this coordinates to calculate central meridian or latitute of origin.

I will try to describe main ideas:

  1. Take some input features from your map (roads, vegetation, etc). Or may be all of them.
  2. Generate one bounding box for all these features (for all roads, for example). In FME it can be done using BoundingBoxAccumulator transformer. Or instead of bounding box you can use ConvexHull polygon for more precise calculations. In FME: HullAccumulator.
  3. Extract centroid coordinates of this one polygon. FME: InsidePointExtractor. Or if you want to use min/max coordinates you can use BoundsExtractor transformer.
  4. Use centroid coordinates for your calculations to determine values of your central meridian, zone number and other needed values.

Hello Alex, Thanks for an swift answer. I'm aware how to calculate the center point of my AOI. Maybe I was not too much clear in my original post but the problem actually is how to automatically pass the values of earlier calculated projection focal point (this is the case you describe) to reprojector trasnformer. Do i have to do it manually via parameterfetcher (would love to avoid it) or EsriReprojector can somehow pick up it automatically ?

Source Link
Alex Markov
  • 4k
  • 23
  • 34
Loading