[R-sig-Geo] Background shapefile does not appear

Suga, Taeko ts2789 at tc.columbia.edu
Fri Apr 10 01:36:10 CEST 2015


Dear Mr. MacQueen,

Thank you very much for your response.
1) I downloaded data (public school name, logitude, and latitude) from the
NCES Common Core Data.
2) I imported & displayed the data using "X Y Coordinate."
3) Coordinate System of Input Coordinates by "Import"nysd,shp" created by
the NYC Department of City Planning.

Projection: Lambert_Conformal_Conic
False_Easting: 984250.000000
False_Northing: 0.000000
Central_Meridian: -74.000000
Standard_Parallel_1: 40.666667
Standard_Parallel_2: 41.033333
Latitude_Of_Origin: 40.166667
Linear Unit: Foot_US (0.304801)

Geographic Coordinate System: GCS_North_American_1983
Angular Unit: Degree (0.017453292519943295)
Prime Meridian: Greenwich (0.000000000000000000)
Datum: D_North_American_1983
  Spheroid: GRS_1980
    Semimajor Axis: 6378137.000000000000000000
    Semiminor Axis: 6356752.314140356100000000
    Inverse Flattening: 298.257222101000020000

4) I exported "All features"
5) I added the exported data as a layer.
6) I added the nysd (new york school district)

But the shapefile (school district) does not appear.

My point file is:

Data Type: Shapefile Feature Class
Shapefile: C:\Users\Taeko\Desktop\Export_Output_9.shp
Geometry Type: Point

Projected Coordinate System:
NAD_1983_StatePlane_New_York_Long_Island_FIPS_3104_Feet
Projection: Lambert_Conformal_Conic
False_Easting: 984250.00000000
False_Northing: 0.00000000
Central_Meridian: -74.00000000
Standard_Parallel_1: 40.66666667
Standard_Parallel_2: 41.03333333
Latitude_Of_Origin: 40.16666667
Linear Unit: Foot_US

Geographic Coordinate System: GCS_North_American_1983
Datum: D_North_American_1983
Prime Meridian: Greenwich
Angular Unit: Degree


Thank you very much for your support.

Best,
Taeko



On Thu, Apr 9, 2015 at 9:44 AM, MacQueen, Don <macqueen1 at llnl.gov> wrote:

> My first guess is that your step "matched the geo-coding" did not succeed.
> But with no details it's hard to say.
>
> Is the NYC school district shapefile also in lat/long?
> If you apply the proj4string() function to both of your objects in R, do
> you get the same result?
> If you apply the bbox() function (bounding box) to both of them, do the
> bounding boxes at least overlap?
>
> Of course they are not shapefiles anymore after they have been loaded into
> R. Is the school point location data a SpatialPointsDataFrame, and the NYC
> school district a SpatialPolygonsDataFrame object?
>
> -Don
>
> --
> Don MacQueen
>
> Lawrence Livermore National Laboratory
> 7000 East Ave., L-627
> Livermore, CA 94550
> 925-423-1062
>
>
>
>
>
> On 4/8/15, 12:03 PM, "Suga, Taeko" <ts2789 at tc.columbia.edu> wrote:
>
> >Dear All,
> >
> >I have created a school-point-location shapefile, using the school point
> >location data (longitude & latitude) from the National Center for
> >Education
> >Statistics, Common Core Data system.
> >
> >I matched the geo-coding of the shapefile with the NYC school district
> >shapefile created by the NYC Department of City Planning.
> >
> >Then, I try to over lay the point location to the NYC school district
> >shapefile, but failed. The district shape file did not appear.
> >
> >Hope someone could help me.
> >Thank you!
> >
> >Taeko Suga
> >Ed.M. student
> >Teachers College
> >
> >       [[alternative HTML version deleted]]
> >
> >_______________________________________________
> >R-sig-Geo mailing list
> >R-sig-Geo at r-project.org
> >https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
>

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list