package incheon.sgp.ipd.eduresource.service;

import java.util.List;
import java.util.Map;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonMappingException;

import incheon.sgp.ipd.eduresource.vo.ChildcareVO;
import incheon.sgp.ipd.eduresource.vo.ElementarySchoolVO;
import incheon.sgp.ipd.eduresource.vo.HighSchoolVO;
import incheon.sgp.ipd.eduresource.vo.KindergartenVO;
import incheon.sgp.ipd.eduresource.vo.SchoolDistrictVO;
import incheon.sgp.ipd.eduresource.vo.SchoolVO;
import incheon.sgp.ipd.eduresource.vo.MiddleSchoolVO;


public interface EduResouceService {
	
	// 초,중,고 반경 검색
	List<SchoolVO> getSchoolByRadiusAll(double latitude, double longitude, double radius, int offset, int limit);
	List<SchoolVO> getSchoolByRadius(double latitude, double longitude, double radius, int offset, int limit,String type);

	// 유치원 어린이집 반경 검색
	List<KindergartenVO> getKindergartenByRadius(double latitude, double longitude, double radius, int offset,
			int limit);
	List<ChildcareVO> getChildcareCenterByRadius(double latitude, double longitude, double radius, int offset,
			int limit);
	
	//학군 shp 정보
	SchoolDistrictVO getMiddleSchoolDistrict(String latitude, String longitude) throws JsonMappingException, JsonProcessingException;
	SchoolDistrictVO getHighSchoolDistrict(String latitude, String longitude) throws JsonMappingException, JsonProcessingException;
	SchoolDistrictVO getElementarySchoolDistrict(String latitude, String longitude) throws JsonMappingException, JsonProcessingException;
	SchoolVO findSchoolByInfo(double latitude, double longitude, String name, String type);
	ChildcareVO findChildcareByInfo(double latitude, double longitude, String name);
	KindergartenVO findKindergartenByInfo(double latitude, double longitude, String name);


}
